JisolGame/JNFrame2/Assets/HotScripts/GameScripts/Luban/Gen/TbGEntity.TAttributeValue.cs

59 lines
1.2 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 TAttributeValue : Luban.BeanBase
{
public TAttributeValue(ByteBuf _buf)
{
Id = _buf.ReadInt();
Value = _buf.ReadInt();
}
public static TAttributeValue DeserializeTAttributeValue(ByteBuf _buf)
{
return new TbGEntity.TAttributeValue(_buf);
}
/// <summary>
/// 属性Id
/// </summary>
public readonly int Id;
/// <summary>
/// 属性值
/// </summary>
public readonly int Value;
public const int __ID__ = -308305801;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "value:" + Value + ","
+ "}";
}
}
}