Class: IPlayerLeaveAfterEventSignal
Provides an adaptable interface for callers to subscribe to an event that fires after a player leaves a world.
Extended by
Constructors
new IPlayerLeaveAfterEventSignal()
private
new IPlayerLeaveAfterEventSignal():IPlayerLeaveAfterEventSignal
Returns
Methods
subscribe()
subscribe(
callback
): (arg
) =>void
Parameters
Parameter | Type |
---|---|
callback | (arg ) => void |
Returns
Function
Parameters
Parameter | Type |
---|---|
arg | PlayerLeaveAfterEvent |
Returns
void
Remarks
Subscribes to the event.
This function can't be called in read-only mode.
unsubscribe()
unsubscribe(
callback
):void
Parameters
Parameter | Type |
---|---|
callback | (arg ) => void |
Returns
void
Remarks
Unsubscribes from the event.
This function can't be called in read-only mode.
Throws
This function can throw errors.