//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
using Bright.Serialization;
using System.Collections.Generic;
using SimpleJSON;
namespace cfg
{
public sealed partial class CollectingPropScale : Bright.Config.BeanBase
{
public JSONNode json;
public CollectingPropScale(JSONNode _json)
{
{ if(!_json["Quality"].IsNumber) { throw new SerializationException(); } Quality = _json["Quality"]; }
{ if(!_json["Scale"].IsNumber) { throw new SerializationException(); } Scale = _json["Scale"]; }
json = _json;
PostInit();
}
public CollectingPropScale(int Quality, float Scale )
{
this.Quality = Quality;
this.Scale = Scale;
PostInit();
}
public static CollectingPropScale DeserializeCollectingPropScale(JSONNode _json)
{
return new CollectingPropScale(_json);
}
public int Quality { get; private set; }
///
/// 类型中带有Mode的进行缩放
///
public float Scale { get; private set; }
public const int __ID__ = -691397649;
public override int GetTypeId() => __ID__;
public void Resolve(Dictionary _tables)
{
PostResolve();
}
public void TranslateText(System.Func translator)
{
}
public override string ToString()
{
return "{ "
+ "Quality:" + Quality + ","
+ "Scale:" + Scale + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}