Script::GetCharacterInfo
function · glue · primitive
- Address
0x4732a0· 456 bytes, up to0x473467- Signature
int __fastcall (lua_State *L)- Meaning
- Returns a roster record's name, race, class, level, zone, race file, sex and ghost flag, or a fixed off-roster tuple
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- glue/select#character-info
Finding: Character info in glue: character select
GetCharacterInfo(index) returns, for a record on the roster: the name; the race's ChrRaces
name in the client's locale, or the empty string with no row; the class's ChrClasses name
likewise; the level; the zone's AreaTable name, or nil; the race's file string (ChrRaces
+0x3c), or the empty string; the sex; 1 for a ghost (flag 0x2000), else nil. Off the roster:
nil, nil, nil, 0, nil, nil, 0, nil.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 7
- __ftol crt
- lua_isnumber lua
- lua_tonumber lua
- lua_pushnil lua
- lua_pushnumber lua
- lua_pushstring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.