benilla-re systems structs docs

OnGuildRoster

function · ui · primitive

Address
0x4d0ad0 · 639 bytes, up to 0x4d0d4e
Signature
int32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Reads the roster message into the member array, sorts it and signals GUILD_ROSTER_UPDATE
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/guild#the-roster-message

Finding: The roster message in ui: the guild roster and its Lua API

Opcode 0x8a, 0x4d0ad0: u32 memberCount, cstr motd (cap 0x200), cstr guildInfo (cap 0x7d0), u32 rankCount, u32 rankRights[rankCount], then per member u64 guid, u8 presence, cstr name (cap 0x30), u32 rankId, u8 level, u8 classId, u32 zoneId, f32 lastOnline only when the presence byte is 0, cstr publicNote (cap 0x80), cstr officerNote (cap 0x80). The handler masks the message and the information text with the profanity masker at once, leaves the notes raw, sorts the array, signals GUILD_ROSTER_UPDATE without an argument and returns 1.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 11

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