Skip to content

@lands.io/mod-sdk / FakeHumanActionHooksRegistry

Interface: FakeHumanActionHooksRegistry

FakeHuman-specific action hooks registry.

Table of contents

Methods

Methods

attack

attack(hooks): ActionHooksRegistry

Register hooks for the fake human attack action

Parameters

Name Type
hooks FakeHumanAttackActionHooks

Returns

ActionHooksRegistry


boat

boat(hooks): ActionHooksRegistry

Register hooks for the fake human boat action

Parameters

Name Type
hooks FakeHumanBoatActionHooks

Returns

ActionHooksRegistry


buildDefensePost

buildDefensePost(hooks): ActionHooksRegistry

Register hooks for the fake human build defense post action

Parameters

Name Type
hooks FakeHumanBuildDefensePostActionHooks

Returns

ActionHooksRegistry


Source Code

View full implementation
/**
 * FakeHuman-specific action hooks registry.
 */
export interface FakeHumanActionHooksRegistry {
  /** Register hooks for the fake human attack action */
  attack(hooks: FakeHumanAttackActionHooks): ActionHooksRegistry;

  /** Register hooks for the fake human boat action */
  boat(hooks: FakeHumanBoatActionHooks): ActionHooksRegistry;

  /** Register hooks for the fake human build defense post action */
  buildDefensePost(
    hooks: FakeHumanBuildDefensePostActionHooks
  ): ActionHooksRegistry;
}