引入属性、伤害管线
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user