Skip to content

ShareOptions beta ​

Interface of @v12-engine/engine

ts
export interface ShareOptions

What shareGame is given: the relay's address, the key and name of the share and whose side watchers see

Members ​

key ​

ts
key: string;

What watchers ask for: the same for every game of a campaign, so they stay from one mission to the next

name ​

ts
name: string;

What it is, for the relay's log

player ​

ts
player: PlayerId;

Whose side watchers see it from: they get that player's lines and cinematics, and see everything besides

sendRate ​

ts
sendRate?: number;

Snapshots a second to each watcher. 20 when left out

url ​

ts
url: string;

The relay's address, ws://host:port