HookAction
A internal struct in Root.Township, Alta.Intelligence. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Internal per-agent runner for an attack direction reaction hook. Updates its AttackDirectionCore each LateUpdate while the agent has a target.
- Listed in Creatures and AI
Constructors
| Member | What it is |
|---|---|
HookAction(AttackDirectionCoreSettings settings, IAgent topic) | Creates a HookAction from settings and topic. |
Fields
4 private and internal fields
| Member | What it is |
|---|---|
private AttackDirectionCore core | The attack direction core made from the settings for this agent. |
private IAgent topic | The agent this runner belongs to. |
private IUnityUpdateMethod updateAction | Handle for the registered LateUpdate method. |
private static UpdateModule updateModule | Shared LateUpdate module all these runners register with. |
Methods
| Member | What it is |
|---|---|
void Disable() | Stops the update and disables the core for this agent. |
1 private and internal method
Used in
Members of other types that take, return or hold a HookAction: