1
0

IHtnConditionalShutdown.cs 456 B

1234567891011121314151617
  1. namespace Content.Server.NPC.HTN;
  2. /// <summary>
  3. /// Helper interface to run the appropriate shutdown for a particular task.
  4. /// </summary>
  5. public interface IHtnConditionalShutdown
  6. {
  7. /// <summary>
  8. /// When to shut the task down.
  9. /// </summary>
  10. HTNPlanState ShutdownState { get; }
  11. /// <summary>
  12. /// Run whenever the <see cref="ShutdownState"/> specifies.
  13. /// </summary>
  14. void ConditionalShutdown(NPCBlackboard blackboard);
  15. }