//------------------------------------------------------------------------------
//
// 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 Newtonsoft.Json.Linq;
namespace cfg
{
public sealed partial class InitItemConfig : Luban.BeanBase
{
public InitItemConfig(JToken _buf)
{
JObject _obj = _buf as JObject;
Id = (int)_obj.GetValue("id");
Count = (int)_obj.GetValue("count");
}
public static InitItemConfig DeserializeInitItemConfig(JToken _buf)
{
return new InitItemConfig(_buf);
}
///
/// Id
///
public readonly int Id;
///
/// 数量
///
public readonly int Count;
public const int __ID__ = 1451166085;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "count:" + Count + ","
+ "}";
}
}
}