59 lines
1.2 KiB
C#
59 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 Newtonsoft.Json.Linq;
|
|
|
|
|
|
|
|
namespace cfg
|
|
{
|
|
|
|
public sealed partial class Hook : Luban.BeanBase
|
|
{
|
|
public Hook(JToken _buf)
|
|
{
|
|
JObject _obj = _buf as JObject;
|
|
Id = (int)_obj.GetValue("id");
|
|
Ding = (int)_obj.GetValue("ding");
|
|
}
|
|
|
|
public static Hook DeserializeHook(JToken _buf)
|
|
{
|
|
return new Hook(_buf);
|
|
}
|
|
|
|
/// <summary>
|
|
/// Id
|
|
/// </summary>
|
|
public readonly int Id;
|
|
/// <summary>
|
|
/// 长钉
|
|
/// </summary>
|
|
public readonly int Ding;
|
|
|
|
|
|
public const int __ID__ = 2255171;
|
|
public override int GetTypeId() => __ID__;
|
|
|
|
public void ResolveRef(Tables tables)
|
|
{
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return "{ "
|
|
+ "id:" + Id + ","
|
|
+ "ding:" + Ding + ","
|
|
+ "}";
|
|
}
|
|
}
|
|
}
|
|
|