引入属性、伤害管线

This commit is contained in:
2026-09-18 21:43:22 +08:00
parent 92e1ea0d55
commit ba25ec1926
108 changed files with 2920 additions and 720 deletions
@@ -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)