PlayerPingsHost beta
Interface of @v12-engine/client
ts
export interface PlayerPingsHostWhat the pings need of the client
Members
allowed
ts
allowed(): readonly string[];The kinds the engine's rules let go (RuleSettings.talk.pings.kinds)
now
ts
now(): number;Seconds since the page started: the cooldowns' clock
send
ts
send(point: Vec2, kind: string, to: 'allies' | 'all'): void;Sends a ping as the player (the controller's ping: through beforeSend and the rules)
warn
ts
warn(message: string): void;Says a def the rules do not let go, once