JisolGame/JNFrame2/Assets/HotScripts/GameScripts/Luban/Gen/TB.TbGRoleBaseAttribute.cs
PC-20230316NUNE\Administrator 6da2f9e691 提交
2024-10-16 20:41:40 +08:00

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 + ","
+ "}";
}
}
}