引入属性、伤害管线
This commit is contained in:
@@ -15,18 +15,18 @@ namespace SepCore.Definition
|
||||
/// <summary>
|
||||
/// 出怪配置
|
||||
/// </summary>
|
||||
public sealed partial class enemySpawnConfig : Luban.BeanBase
|
||||
public sealed partial class EnemySpawnConfig : Luban.BeanBase
|
||||
{
|
||||
public enemySpawnConfig(ByteBuf _buf)
|
||||
public EnemySpawnConfig(ByteBuf _buf)
|
||||
{
|
||||
EnemyType = (EnemyType)_buf.ReadInt();
|
||||
EnemyCount = _buf.ReadInt();
|
||||
Interval = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static enemySpawnConfig DeserializeenemySpawnConfig(ByteBuf _buf)
|
||||
public static EnemySpawnConfig DeserializeEnemySpawnConfig(ByteBuf _buf)
|
||||
{
|
||||
return new enemySpawnConfig(_buf);
|
||||
return new EnemySpawnConfig(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -42,7 +42,7 @@ public sealed partial class enemySpawnConfig : Luban.BeanBase
|
||||
/// </summary>
|
||||
public readonly int Interval;
|
||||
|
||||
public const int __ID__ = -1182208523;
|
||||
public const int __ID__ = -2024984043;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
|
||||
Reference in New Issue
Block a user