SkeldJS
    Preparing search index...

    Class RoomGameEndedEvent<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.gameended" = ...
    eventName: "room.gameended" = ...
    reason: number

    The reason for why the game ended. See GameOverReason

    room: RoomType

    The room or client that the event came from.