修改为luban
This commit is contained in:
64
Entity/Generate/ConfigTable/Feeder.cs
Normal file
64
Entity/Generate/ConfigTable/Feeder.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 Feeder : Luban.BeanBase
|
||||
{
|
||||
public Feeder(JToken _buf)
|
||||
{
|
||||
JObject _obj = _buf as JObject;
|
||||
Id = (int)_obj.GetValue("id");
|
||||
Capacity = (int)_obj.GetValue("capacity");
|
||||
Weight = (int)_obj.GetValue("weight");
|
||||
}
|
||||
|
||||
public static Feeder DeserializeFeeder(JToken _buf)
|
||||
{
|
||||
return new Feeder(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 能力
|
||||
/// </summary>
|
||||
public readonly int Capacity;
|
||||
/// <summary>
|
||||
/// 重量(克)
|
||||
/// </summary>
|
||||
public readonly int Weight;
|
||||
|
||||
|
||||
public const int __ID__ = 2100424427;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "capacity:" + Capacity + ","
|
||||
+ "weight:" + Weight + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user