Skip to content

PlayerPing beta ​

Interface of @v12-engine/client

ts
export interface PlayerPing

A ping a player of the side made (see the engine's ping), as the screen is told of it

Members ​

by ​

ts
by?: string;

The name of who watches, for one of theirs

kind ​

ts
kind: PlayerPingKind;

The kind of ping, as GameView.pings.kinds names them

player ​

ts
player: PlayerId;

The player who pinged

to ​

ts
to: ChatAudience;

Who it was for: the side, everyone, or who watches alone (one who watches pinged it)

x ​

ts
x: number;

Where the ping was, x in cells

z ​

ts
z: number;

Where the ping was, z in cells