Manages callbacks that are connected to an item use event.
export class ItemUseAfterEventSignal { private constructor(); subscribe(callback: (arg0: ItemUseAfterEvent) => void): (arg0: ItemUseAfterEvent) => void; unsubscribe(callback: (arg0: ItemUseAfterEvent) => void): void;} Copy
export class ItemUseAfterEventSignal { private constructor(); subscribe(callback: (arg0: ItemUseAfterEvent) => void): (arg0: ItemUseAfterEvent) => void; unsubscribe(callback: (arg0: ItemUseAfterEvent) => void): void;}
Private
Adds a callback that will be called when an item is used.
no-restricted-execution - This function can't be called in restricted-execution mode.
early-execution-allowed - This function can be called in early-execution mode.
Removes a callback from being called when an item is used.
Manages callbacks that are connected to an item use event.
Source