//------------------------------------------------------------------------------
//
// 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;
namespace GameConfig.TB
{
public sealed partial class TbGRoleBaseAttribute : Luban.BeanBase
{
public TbGRoleBaseAttribute(ByteBuf _buf)
{
Id = _buf.ReadInt();
Blood = _buf.ReadInt();
Attack = _buf.ReadInt();
Defend = _buf.ReadInt();
}
public static TbGRoleBaseAttribute DeserializeTbGRoleBaseAttribute(ByteBuf _buf)
{
return new TB.TbGRoleBaseAttribute(_buf);
}
///
/// 角色Id (0 则默认)
///
public readonly int Id;
///
/// 默认血量
///
public readonly int Blood;
///
/// 默认攻击属性
///
public readonly int Attack;
///
/// 默认防御属性
///
public readonly int Defend;
public const int __ID__ = 1489419004;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "Blood:" + Blood + ","
+ "Attack:" + Attack + ","
+ "Defend:" + Defend + ","
+ "}";
}
}
}