* Add pirate shooting * Shooting working * Basics working * Refactor time * More conversion * Update primitives * Update yml * weh * Building again * Draft * weh * b * Start shutdown * Starting to take form * Code side done * is it worky * Fix prototypes * stuff * Shitty working * Juke events working * Even more cleanup * RTX * Fix interaction combat mode and compquery * GetAmmoCount relays * Fix rotation speed * Juke fixes * fixes * weh * The collision avoidance never ends * Fixes * Pause support * framework * lazy * Fix idling * Fix drip * goobed * Fix takeover shutdown bug * Merge fixes * shitter * Fix carpos
18 lines
456 B
C#
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);
|
|
}
|