Skip to content

presetPings ​

Function of @v12-engine/client

ts
export declare function presetPings(kinds?: readonly PresetPingKind[], over?: {
    [kind in PresetPingKind]?: Partial<PingDef>;
}): PingDef[];

The ready-made pings (PRESET_PINGS) a game takes for GameView.pings.kinds: all of them in their order, or the kinds named in the order named, each with fields of the game's over it