WordsSources beta
Interface of @v12-engine/editor
ts
export interface WordsSourcesWhat the table is gathered from: the game's languages in order (the first its own) and their tables as read, the view's words, the registry's definitions, the speakers, and the plain texts of the maps, the campaign and the cinematics
Members
languages
ts
languages: readonly string[];The game's languages in order; the first is its own
messages
ts
messages?: Readonly<Record<string, MessageWords>>;The view's own words (GameView.hud.messages)
races
ts
races?: Readonly<Record<string, {
messages?: Readonly<Record<string, MessageWords>>;
}>>;Each race's words (GameView.races), said as race.<race>.<key>
registry
ts
registry?: Registry;The registry whose definitions give the names rows
speakers
ts
speakers?: Readonly<Record<string, {
name: string;
}>>;The speakers of the cinematics and the lines (GameView.cinematics.speakers), by id
tables
ts
tables: Readonly<Record<string, MessagesFile>>;The languages' tables as they were read, by language
texts
ts
texts?: readonly WordText[];The plain texts of the maps, campaign and cinematics that need words