Skip to main content

EventChannelTimedAiHook.Delay

A private class in Root.Township, Alta.Intelligence. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

One delayed event in an EventChannelTimedAiHook: fires a hook event channel a set time after an action starts.

Constructors​

MemberWhat it is
Delay()Creates an EventChannelTimedAiHook.Delay with default values.

Fields​

MemberWhat it is
float delaySeconds to wait after the action is used.
HookEventChannel startedThe event channel fired when the delay ends.
1 private and internal field
MemberWhat it is
private Dictionary<IActiveAction, Timeline.IEntry> entriesPending timeline entries per running action.

Methods​

MemberWhat it is
void Cancel(IActiveAction action)Cancels the pending timer for an action, if any.
void Start(IActiveAction action)Restarts the timer for an action; when it runs out it fires started on the action's topic.

Used in​

Members of other types that take, return or hold a Delay: