benilla-re systems structs docs

Script::GetGuildRosterInfo

function · ui · primitive

Address
0x4d1200 · 627 bytes, up to 0x4d1472
Signature
int __fastcall (lua_State *L)
Meaning
Pushes the ten values of one roster member, or ten empty values
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/guild#reading-the-roster

Finding: Reading the roster in ui: the guild roster and its Lua API

GetNumGuildMembers([all]) returns the full count when show-offline is on or the argument is true, else the online count. GetGuildRosterInfo(index) is 1-based and returns ten values: name, rank name, rank id, level, class name, zone name, public note, officer note, 1 or nil for online, and the status text for do-not-disturb or away or the empty string. Any index below 1 or past the full count, a missing member, an unknown player or guild, or a guild record not yet cached returns nil, nil, 0, 0, nil, nil, nil, nil, nil, "". A missing argument raises Usage: GetGuildRosterInfo(index). The rank name is copied with no size limit (0x7fffffff) into the stack buffer at ebp-0x48 (0x4d12f3).

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 15

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