Skip to content

AlertLook beta ​

Interface of @v12-engine/client

ts
export interface AlertLook

How an alert shows, decided by the game's view (GameView.hud.alertFor): its words, its sound and its colour on the minimap. Null from the view for no alert at all

Members ​

color ​

ts
color?: string;

CSS colour of the ping on the minimap

message ​

ts
message?: string;

The words shown to the player; the client's words for the kind (alertWords) when left out

sound ​

ts
sound?: string;

The sound played, by name; the client's own when left out