//------------------------------------------------------------------------------ // // 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 cfg { public sealed partial class CityIndex : Luban.BeanBase { public CityIndex(JSONNode _buf) { { if(!_buf["index"].IsNumber) { throw new SerializationException(); } Index = _buf["index"]; } { if(!_buf["id"].IsNumber) { throw new SerializationException(); } Id = _buf["id"]; } } public static CityIndex DeserializeCityIndex(JSONNode _buf) { return new CityIndex(_buf); } /// /// 按钮位置 /// public readonly int Index; /// /// id /// public readonly int Id; public const int __ID__ = 877259271; public override int GetTypeId() => __ID__; public void ResolveRef(Tables tables) { } public override string ToString() { return "{ " + "index:" + Index + "," + "id:" + Id + "," + "}"; } } }