1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- using Luban;
- using SimpleJSON;
- namespace cfg.item
- {
- public sealed partial class ItemExchange : Luban.BeanBase
- {
- public ItemExchange(JSONNode _buf)
- {
- { if(!_buf["id"].IsNumber) { throw new SerializationException(); } Id = _buf["id"]; }
- { if(!_buf["num"].IsNumber) { throw new SerializationException(); } Num = _buf["num"]; }
- }
- public static ItemExchange DeserializeItemExchange(JSONNode _buf)
- {
- return new item.ItemExchange(_buf);
- }
-
-
-
- public readonly int Id;
-
-
-
- public readonly int Num;
-
- public const int __ID__ = 1814660465;
- public override int GetTypeId() => __ID__;
- public void ResolveRef(Tables tables)
- {
-
-
- }
- public override string ToString()
- {
- return "{ "
- + "id:" + Id + ","
- + "num:" + Num + ","
- + "}";
- }
- }
- }
|