66 lines
1.4 KiB
C#
Raw Normal View History

2024-10-16 20:41:40 +08:00
//------------------------------------------------------------------------------
// <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 GameConfig.TbGEntity
{
/// <summary>
/// 奖励信息
/// </summary>
public sealed partial class TReward : Luban.BeanBase
{
public TReward(ByteBuf _buf)
{
Type = (TbGEnum.TReward)_buf.ReadInt();
Id = _buf.ReadInt();
Value = _buf.ReadInt();
}
public static TReward DeserializeTReward(ByteBuf _buf)
{
return new TbGEntity.TReward(_buf);
}
/// <summary>
/// 奖励类型
/// </summary>
public readonly TbGEnum.TReward Type;
/// <summary>
/// 奖励Id
/// </summary>
public readonly int Id;
/// <summary>
/// 奖励数量
/// </summary>
public readonly int Value;
public const int __ID__ = 103029105;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "type:" + Type + ","
+ "id:" + Id + ","
+ "value:" + Value + ","
+ "}";
}
}
}