skeldjs
    Preparing search index...

    Class PlayerSetStartCounterEvent<RoomType>

    Emitted when a player (i.e. the host of the room) sets the starting counter located above the game code while in the lobby.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    eventName: "player.setstartcounter" = ...
    message: undefined | SetStartCounterMessage

    The message that this event originated from.

    newCounter: number

    The new value of the counter.

    oldCounter: number

    The old value of the counter.

    player: Player<RoomType>

    The player that this event is for.

    room: RoomType

    The room or client that the event came from.

    eventName: "player.setstartcounter" = ...

    Accessors

    Methods