Manages callbacks that are connected to when an effect is added to an entity.
export class EffectAddAfterEventSignal { private constructor(); subscribe( callback: (arg0: EffectAddAfterEvent) => void, options?: EntityEventOptions, ): (arg0: EffectAddAfterEvent) => void; unsubscribe(callback: (arg0: EffectAddAfterEvent) => void): void;} Copy
export class EffectAddAfterEventSignal { private constructor(); subscribe( callback: (arg0: EffectAddAfterEvent) => void, options?: EntityEventOptions, ): (arg0: EffectAddAfterEvent) => void; unsubscribe(callback: (arg0: EffectAddAfterEvent) => void): void;}
Private
Optional
Adds a callback that will be called when an effect is added to an entity.
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 effect is added to an entity.
Manages callbacks that are connected to when an effect is added to an entity.
Source