benilla-re systems structs docs

Script::GetChatTypeIndex

function · ui · primitive

Address
0x4a0a80 · 276 bytes, up to 0x4a0b93
Signature
int __fastcall (lua_State *L)
Meaning
Pushes the one-based registry position of a chat type name, 0 when unknown
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/chatcolors#getchattypeindex

Finding: GetChatTypeIndex in ui: chat colours

GetChatTypeIndex(name) returns a number: the registry position plus one for a name among the 94 (1 to 94, matched without case), 95 plus the extra position for a name among the extras (95 to 104), and 0 for any other name. A non-string argument raises the usage error.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

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