skeldjs
    Preparing search index...

    Class RoomEndGameIntentEvent<RoomType>

    Emitted when a game end intent critera is fulfilled, and the game is planned to end.

    Useful for canceling typical end game scenarios. See RoomGameEndEvent to listen for an actual game end, and see StatefulRoom.registerEndGameIntent to register your own end game intent.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    canceled: boolean
    eventName: "room.endgameintent" = ...
    intentName: string
    metadata: any
    room: RoomType

    The room or client that the event came from.

    eventName: "room.endgameintent" = ...

    Methods