Skip to main content

Class: IPlayerJoinAfterEventSignal

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

Extended by

Constructors

new IPlayerJoinAfterEventSignal()

private new IPlayerJoinAfterEventSignal(): IPlayerJoinAfterEventSignal

Returns

IPlayerJoinAfterEventSignal

Methods

subscribe()

subscribe(callback): (arg) => void

Parameters

ParameterType
callback(arg) => void

Returns

Function

Parameters
ParameterType
argPlayerJoinAfterEvent
Returns

void

Remarks

Subscribes to the event.

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


unsubscribe()

unsubscribe(callback): void

Parameters

ParameterType
callback(arg) => void

Returns

void

Remarks

Unsubscribes from the event.

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