@lands.io/mod-sdk / FakeHumanBuildDefensePostActionHooks
Interface: FakeHumanBuildDefensePostActionHooks¶
Hooks for customizing FakeHumanBuildDefensePostAction behavior.
Table of contents¶
Properties¶
Properties¶
chooseTarget¶
• Optional chooseTarget: (ctx: ActionContext, target: null | BuildDefensePostTarget) => null | BuildDefensePostTarget
Hook for chooseTarget - receives context and base target
Type declaration¶
▸ (ctx, target): null | BuildDefensePostTarget
Parameters¶
| Name | Type |
|---|---|
ctx |
ActionContext |
target |
null | BuildDefensePostTarget |
Returns¶
null | BuildDefensePostTarget
Source Code¶
View full implementation
/**
* Hooks for customizing FakeHumanBuildDefensePostAction behavior.
*/
export interface FakeHumanBuildDefensePostActionHooks {
/** Hook for chooseTarget - receives context and base target */
chooseTarget?: (
ctx: ActionContext,
target: BuildDefensePostTarget | null
) => BuildDefensePostTarget | null;
}