SkeldJS
    Preparing search index...

    Class PlayerSceneChangeEvent<RoomType>

    Emitted when a player changes their scene, i.e. when they first join and before they spawn into the game.

    A player does not necessarily have to change their scene, and they will simply not spawn while recieving all game packets and events.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    eventName: string
    eventNamee: "player.scenechange" = ...
    canceled: boolean
    eventName: "player.scenechange" = ...

    The message that this event originated from.

    player: Player<RoomType>
    room: RoomType

    Methods