66 lines
1.4 KiB
C#
66 lines
1.4 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 SepCore.Definition
|
|
{
|
|
/// <summary>
|
|
/// 修饰器
|
|
/// </summary>
|
|
public sealed partial class modifier : Luban.BeanBase
|
|
{
|
|
public modifier(ByteBuf _buf)
|
|
{
|
|
Key = (StatType)_buf.ReadInt();
|
|
Value = _buf.ReadInt();
|
|
IsPercent = _buf.ReadBool();
|
|
}
|
|
|
|
public static modifier Deserializemodifier(ByteBuf _buf)
|
|
{
|
|
return new modifier(_buf);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 属性类型
|
|
/// </summary>
|
|
public readonly StatType Key;
|
|
/// <summary>
|
|
/// 值
|
|
/// </summary>
|
|
public readonly int Value;
|
|
/// <summary>
|
|
/// 是否为百分比
|
|
/// </summary>
|
|
public readonly bool IsPercent;
|
|
|
|
public const int __ID__ = -615513385;
|
|
public override int GetTypeId() => __ID__;
|
|
|
|
public void ResolveRef(Tables tables)
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return "{ "
|
|
+ "key:" + Key + ","
|
|
+ "value:" + Value + ","
|
|
+ "isPercent:" + IsPercent + ","
|
|
+ "}";
|
|
}
|
|
}
|
|
|
|
}
|