迁移数据表到 Luban,移除 JsonNet、EnumUtility
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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;
|
||||
|
||||
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
public sealed partial class GoodsConfig : Luban.BeanBase
|
||||
{
|
||||
public GoodsConfig(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
GoodsType = (GoodsType)_buf.ReadInt();
|
||||
GoodsTypeId = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static GoodsConfig DeserializeGoodsConfig(ByteBuf _buf)
|
||||
{
|
||||
return new GoodsConfig(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 商品编号
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 商品类型
|
||||
/// </summary>
|
||||
public readonly GoodsType GoodsType;
|
||||
/// <summary>
|
||||
/// 商品对应物品Id
|
||||
/// </summary>
|
||||
public readonly int GoodsTypeId;
|
||||
|
||||
public const int __ID__ = 1358452248;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "Id:" + Id + ","
|
||||
+ "GoodsType:" + GoodsType + ","
|
||||
+ "GoodsTypeId:" + GoodsTypeId + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user