- usableActions<SET>(name: string, set: SET, registrationHandler: ((registrar: default, ...args: {
0: UsableActionGenerator<[]>;
1: UsableActionGenerator<[]>;
10: default<IUseNPCAction, IUsableActionRequirements>;
11: UsableActionGenerator<[]>;
12: UsableActionGenerator<[]>;
13: UsableActionGenerator<[]>;
14: UsableActionGenerator<[]>;
15: UsableActionGenerator<[]>;
16: UsableActionGenerator<[]>;
17: UsableActionGenerator<[]>;
18: UsableActionGenerator<[]>;
19: UsableActionGenerator<[moveTarget?: UsableActionsItemMoveTarget]>;
2: UsableActionGenerator<[]>;
20: UsableActionGenerator<[isDropMenu?: true]>;
21: UsableActionGenerator<[]>;
22: UsableActionGenerator<[]>;
23: UsableActionGenerator<[]>;
3: UsableActionGenerator<[]>;
4: UsableActionGenerator<[]>;
5: UsableActionGenerator<[]>;
6: default<IUseItemAction, IUsableActionRequirements>;
7: UsableActionGenerator<[]>;
8: UsableActionGenerator<[]>;
9: UsableActionGenerator<[]>;
}[SET] extends UsableActionGenerator<ARGS> ? ARGS : []) => any)): (<K, T>(target: T, key: K) => void)
-
Returns (<K, T>(target: T, key: K) => void)
-
- <K, T>(target: T, key: K): void
-
Type Parameters
-
K extends string | number | symbol
-
Returns void
Registers a "usable" action generator — actions that appear in the UI, and can be slotted in the action bar.