//------------------------------------------------------------------------------
//
// 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 StatModifierConfig : Luban.BeanBase
{
public StatModifierConfig(ByteBuf _buf)
{
StatType = (StatType)_buf.ReadInt();
Value = _buf.ReadFloat();
ModifierType = (ModifierType)_buf.ReadInt();
}
public static StatModifierConfig DeserializeStatModifierConfig(ByteBuf _buf)
{
return new StatModifierConfig(_buf);
}
///
/// 属性类型
///
public readonly StatType StatType;
///
/// 值
///
public readonly float Value;
///
/// 修饰器类型
///
public readonly ModifierType ModifierType;
public const int __ID__ = 235118733;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "statType:" + StatType + ","
+ "value:" + Value + ","
+ "modifierType:" + ModifierType + ","
+ "}";
}
}
}