//------------------------------------------------------------------------------ // // 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 RodEarnPoints : Bright.Config.BeanBase { public JSONNode json; public RodEarnPoints(JSONNode _json) { { if(!_json["Type"].IsNumber) { throw new SerializationException(); } Type = _json["Type"]; } { if(!_json["Points"].IsNumber) { throw new SerializationException(); } Points = _json["Points"]; } json = _json; PostInit(); } public RodEarnPoints(int Type, int Points ) { this.Type = Type; this.Points = Points; PostInit(); } public static RodEarnPoints DeserializeRodEarnPoints(JSONNode _json) { return new RodEarnPoints(_json); } /// /// 1:升级
2:升星 ///
public int Type { get; private set; } /// /// 提升的分数 /// public int Points { get; private set; } public const int __ID__ = 1997726690; public override int GetTypeId() => __ID__; public void Resolve(Dictionary _tables) { PostResolve(); } public void TranslateText(System.Func translator) { } public override string ToString() { return "{ " + "Type:" + Type + "," + "Points:" + Points + "," + "}"; } partial void PostInit(); partial void PostResolve(); } }