//------------------------------------------------------------------------------ // // 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 Luban; using Newtonsoft.Json.Linq; namespace cfg { public sealed partial class Leader : Luban.BeanBase { public Leader(JToken _buf) { JObject _obj = _buf as JObject; Id = (int)_obj.GetValue("id"); Strength = (int)_obj.GetValue("strength"); Size = (int)_obj.GetValue("size"); } public static Leader DeserializeLeader(JToken _buf) { return new Leader(_buf); } /// /// Id /// public readonly int Id; /// /// 强度 /// public readonly int Strength; /// /// 尺寸 /// public readonly int Size; public const int __ID__ = -2022887127; public override int GetTypeId() => __ID__; public void ResolveRef(Tables tables) { } public override string ToString() { return "{ " + "id:" + Id + "," + "strength:" + Strength + "," + "size:" + Size + "," + "}"; } } }