Skip to content

MessageViewer beta ​

Interface of @v12-engine/client

ts
export interface MessageViewer

Who a message is put in words for: the player at this screen. Their race (raceOf) where the game has races, so that a message is said as that race would say it (an undead player is told to raise a bone spire, not a farm)

Members ​

language ​

ts
language?: string;

The language they read, by id (client.words.language()): for words in code that say it in each

race ​

ts
race?: string;

The race they play (raceOf), left out in a game without races