IPlayerLeaveAfterEventSignal Class

Classes that extend IPlayerLeaveAfterEventSignal

Provides an adaptable interface for callers to subscribe to an event that fires after a player leaves a world.

Methods

subscribe

subscribe(callback: (arg: PlayerLeaveAfterEvent) => void): (arg: PlayerLeaveAfterEvent) => void

Subscribes to the event.

Parameters

Returns (arg: PlayerLeaveAfterEvent) => void

Important

This function can't be called in read-only mode.

unsubscribe

unsubscribe(callback: (arg: PlayerLeaveAfterEvent) => void): void

Unsubscribes from the event.

Parameters

Important

This function can't be called in read-only mode.