//------------------------------------------------------------------------------ // // 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 SimpleJSON; namespace TableConfig { public sealed partial class AttributeTable : Luban.BeanBase { public AttributeTable(JSONNode _buf) { { if(!_buf["Name"].IsString) { throw new SerializationException(); } Name = _buf["Name"]; } { if(!_buf["Description"].IsString) { throw new SerializationException(); } Description = _buf["Description"]; } } public static AttributeTable DeserializeAttributeTable(JSONNode _buf) { return new AttributeTable(_buf); } /// /// 名称 /// public readonly string Name; /// /// 描述 /// public readonly string Description; public const int __ID__ = 1320857266; public override int GetTypeId() => __ID__; public void ResolveRef(Tables tables) { } public override string ToString() { return "{ " + "Name:" + Name + "," + "Description:" + Description + "," + "}"; } } }