Skip to content

OnlineArgs beta ​

Interface of @v12-engine/client/app

ts
export interface OnlineArgs

What an online scene is opened with: the server's address, a ticket its seat lets players in by, to watch rather than play, the name to join by

Members ​

name ​

ts
name?: string;

The name to join the game by

ticket ​

ts
ticket?: string;

A ticket the server's seat lets players in by, to join a game already made

url ​

ts
url?: string;

The server's websocket address; the scene's own url option when left out

watch ​

ts
watch?: boolean;

Whether to watch the game rather than play it