benilla-re systems structs docs

Script::GetDefaultLanguage

function · ui · orchestration

Address
0x49fcd0 · 94 bytes, up to 0x49fd2d
Signature
int __fastcall (lua_State *L)
Meaning
Returns the active player's race language name, or nothing without a player or a language
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/bindings#default-language

Finding: Default language in ui: standalone bindings

GetDefaultLanguage() is 0x49fcd0, takes no arguments and returns one string, the active player's race language name in the client's locale. With no player, a negative or past-the-end language id, or no language record it returns nothing at all (zero values). The registered name of the language count function is the misspelling GetNumLaguages; there is no correctly spelled one.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 4

Calls and jumps by a bare address, from tables/calls.tsv.