- Add RoomStreamingManager to manage room loading and unloading based on player proximity. - Create StreamingBudgetConfigSO for memory and performance budgeting of the streaming system. - Introduce TransitionDirector to handle seamless and atmospheric fade transitions between rooms. - Develop WorldGraph to represent room connectivity and facilitate neighbor queries and distance calculations. - Implement RoomNode and RoomEdge classes to structure room data and connections.
27 lines
612 B
C#
27 lines
612 B
C#
namespace BaseGames.Enemies.Abilities
|
||
{
|
||
/// <summary>
|
||
/// 能力执行的阶段枚举(架构 07_EnemyModule §8)。
|
||
/// 用于 BD/Animator/UI 查询能力当前在哪个阶段(telegraph/出招/恢复)。
|
||
/// </summary>
|
||
public enum AbilityRunState
|
||
{
|
||
Idle,
|
||
Telegraph,
|
||
Windup,
|
||
Active,
|
||
Recovery,
|
||
Interrupted
|
||
}
|
||
|
||
/// <summary>能力中断原因。供 BD 判断是否需要重新调度。</summary>
|
||
public enum InterruptReason
|
||
{
|
||
ExternalRequest,
|
||
Hurt,
|
||
Stagger,
|
||
KnockUp,
|
||
Dead
|
||
}
|
||
}
|