mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 19:34:47 +00:00
70 lines
1.5 KiB
C#
70 lines
1.5 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 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);
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 角色Id (0 则默认)
|
||
|
/// </summary>
|
||
|
public readonly int Id;
|
||
|
/// <summary>
|
||
|
/// 默认血量
|
||
|
/// </summary>
|
||
|
public readonly int Blood;
|
||
|
/// <summary>
|
||
|
/// 默认攻击属性
|
||
|
/// </summary>
|
||
|
public readonly int Attack;
|
||
|
/// <summary>
|
||
|
/// 默认防御属性
|
||
|
/// </summary>
|
||
|
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 + ","
|
||
|
+ "}";
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|