6
StarHorizon_Public/Content.Server/NPC/HTN/IHtnConditionalShutdown.cs
2026-01-24 12:49:55 +03:00

18 lines
456 B
C#

namespace Content.Server.NPC.HTN;
/// <summary>
/// Helper interface to run the appropriate shutdown for a particular task.
/// </summary>
public interface IHtnConditionalShutdown
{
/// <summary>
/// When to shut the task down.
/// </summary>
HTNPlanState ShutdownState { get; }
/// <summary>
/// Run whenever the <see cref="ShutdownState"/> specifies.
/// </summary>
void ConditionalShutdown(NPCBlackboard blackboard);
}