66 lines
1.5 KiB
C#
66 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 SepCore.Definition
|
|
{
|
|
/// <summary>
|
|
/// 修饰器
|
|
/// </summary>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 属性类型
|
|
/// </summary>
|
|
public readonly StatType StatType;
|
|
/// <summary>
|
|
/// 值
|
|
/// </summary>
|
|
public readonly float Value;
|
|
/// <summary>
|
|
/// 修饰器类型
|
|
/// </summary>
|
|
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 + ","
|
|
+ "}";
|
|
}
|
|
}
|
|
|
|
}
|