FormatContext beta
Interface of @v12-engine/client
ts
export interface FormatContextWhat a text is put in words with (formatWords): the language, for its plurals, numbers and lists, and the names of ids
Members
locale
ts
locale?: string;The language's id, for Intl: English when left out
name
ts
name?: (kind: NameKind, id: string) => string;What an id is called: its definition's name when left out, where the registry has one
registry
ts
registry?: Registry;The registry names and ids are looked up in; the one the game is made with when left out