Files
2026-03-05 15:03:45 +08:00

83 lines
1.9 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 Rod : Luban.BeanBase
{
public Rod(JToken _buf)
{
JObject _obj = _buf as JObject;
Id = (int)_obj.GetValue("id");
RodType = (int)_obj.GetValue("rod_type");
Ring = (int)_obj.GetValue("ring");
Strength = (int)_obj.GetValue("strength");
MaxRange = (int)_obj.GetValue("max_range");
ConstructionType = (int)_obj.GetValue("construction_type");
}
public static Rod DeserializeRod(JToken _buf)
{
return new Rod(_buf);
}
/// <summary>
/// Id
/// </summary>
public readonly int Id;
/// <summary>
/// 鱼竿类型
/// </summary>
public readonly int RodType;
/// <summary>
/// 导线圈
/// </summary>
public readonly int Ring;
/// <summary>
/// 强度
/// </summary>
public readonly int Strength;
/// <summary>
/// 最大范围
/// </summary>
public readonly int MaxRange;
/// <summary>
/// 结构类型
/// </summary>
public readonly int ConstructionType;
public const int __ID__ = 82343;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "rodType:" + RodType + ","
+ "ring:" + Ring + ","
+ "strength:" + Strength + ","
+ "maxRange:" + MaxRange + ","
+ "constructionType:" + ConstructionType + ","
+ "}";
}
}
}