Class PlayerSpawnEventSignalBeta

Registers an event when a player is spawned (or re-spawned after death) and fully ready within the world.

Hierarchy

  • PlayerSpawnEventSignal

Constructors

Methods

Constructors

Methods

  • Parameters

    • callback: ((arg) => void)

    Returns ((arg) => void)

      • (arg): void
      • Parameters

        Returns void

        Remarks

        Registers a new event receiver for this particular type of event.

    Remarks

    Registers a new event receiver for this particular type of event.

  • Parameters

    • callback: ((arg) => void)

    Returns void

    Remarks

    De-registers an event receiver for the player spawn event.

    Throws

    This function can throw errors.