//------------------------------------------------------------------------------
//
// 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 SepCore.Definition
{
///
/// 修饰器
///
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);
}
///
/// 属性类型
///
public readonly StatType Key;
///
/// 值
///
public readonly int Value;
///
/// 是否为百分比
///
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 + ","
+ "}";
}
}
}