63 lines
1.3 KiB
C#
63 lines
1.3 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;
|
|
|
|
|
|
namespace SepCore.Definition
|
|
{
|
|
public sealed partial class GoodsConfig : Luban.BeanBase
|
|
{
|
|
public GoodsConfig(ByteBuf _buf)
|
|
{
|
|
Id = _buf.ReadInt();
|
|
GoodsType = (GoodsType)_buf.ReadInt();
|
|
RefId = _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 RefId;
|
|
|
|
public const int __ID__ = 1358452248;
|
|
public override int GetTypeId() => __ID__;
|
|
|
|
public void ResolveRef(Tables tables)
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return "{ "
|
|
+ "id:" + Id + ","
|
|
+ "goodsType:" + GoodsType + ","
|
|
+ "refId:" + RefId + ","
|
|
+ "}";
|
|
}
|
|
}
|
|
|
|
}
|