SwitchPageGameState: { page: string; type: "switch-page" }

Instruct the client application to switch to a specific page

Type declaration

  • page: string

    Alias of the page to switch to

  • type: "switch-page"

    Discriminiator to distinguish between different game state types