Muokkaa

Jaa


IPlayerJoinAfterEventSignal Class (Version 1.x.x)

Important

This documentation is for an older version of this module.

Caution

This class is deprecated and will be removed in 2.0.0.

Classes that extend IPlayerJoinAfterEventSignal

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

Methods

subscribe

subscribe(callback: (arg0: PlayerJoinAfterEvent) => void): (arg0: PlayerJoinAfterEvent) => void

Subscribes to the event.

Parameters

Returns (arg0: PlayerJoinAfterEvent) => void

Caution

This function is deprecated and will be removed in 2.0.0.

Notes:

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

unsubscribe

unsubscribe(callback: (arg0: PlayerJoinAfterEvent) => void): void

Unsubscribes from the event.

Parameters

Caution

This function is deprecated and will be removed in 2.0.0.

Notes:

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