53 lines
1.2 KiB
C#
53 lines
1.2 KiB
C#
|
|
||
|
//------------------------------------------------------------------------------
|
||
|
// <auto-generated>
|
||
|
// This code was generated by a tool.
|
||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||
|
// the code is regenerated.
|
||
|
// </auto-generated>
|
||
|
//------------------------------------------------------------------------------
|
||
|
|
||
|
using Luban;
|
||
|
using SimpleJSON;
|
||
|
|
||
|
|
||
|
namespace cfg.data
|
||
|
{
|
||
|
public sealed partial class GameConst : Luban.BeanBase
|
||
|
{
|
||
|
public GameConst(JSONNode _buf)
|
||
|
{
|
||
|
{ if(!_buf["key"].IsString) { throw new SerializationException(); } Key = _buf["key"]; }
|
||
|
{ if(!_buf["value"].IsString) { throw new SerializationException(); } Value = _buf["value"]; }
|
||
|
}
|
||
|
|
||
|
public static GameConst DeserializeGameConst(JSONNode _buf)
|
||
|
{
|
||
|
return new data.GameConst(_buf);
|
||
|
}
|
||
|
|
||
|
public readonly string Key;
|
||
|
/// <summary>
|
||
|
/// 值
|
||
|
/// </summary>
|
||
|
public readonly string Value;
|
||
|
|
||
|
public const int __ID__ = 405993773;
|
||
|
public override int GetTypeId() => __ID__;
|
||
|
|
||
|
public void ResolveRef(Tables tables)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public override string ToString()
|
||
|
{
|
||
|
return "{ "
|
||
|
+ "key:" + Key + ","
|
||
|
+ "value:" + Value + ","
|
||
|
+ "}";
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|