skeldjs
    Preparing search index...

    Class RoomGameEndEvent<RoomType>

    Emitted when a game ends.

    See RoomEndGameIntentEvent to cancel or listen for before a game is ended.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Constructors

    Properties

    eventName: "room.gameend" = ...
    reason: number

    The reason for why the game ended. See GameOverReason

    room: RoomType

    The room or client that the event came from.

    eventName: "room.gameend" = ...