benilla-re systems structs docs

GuildMemberInfo

struct · ui · 344 bytes

Meaning
Holds one guild roster member: GUID, name, level, class, zone, rank, presence, notes and last-online days
Confidence
verified, proof one
Finding
ui/guild#the-member-record

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

A GuildMemberInfo is 0x158 bytes: GUID at +0, name at +8 (0x30), level +0x38, class +0x3c, zone +0x40, rank +0x44, the online word +0x48, the raw presence byte +0x4c, a notes-unfiltered byte +0x4d, the public note +0x4e, the officer note +0xce and the last-online time +0x150, a float in days. The presence bit 0x2 is away and 0x4 is do-not-disturb; the client tests the whole byte for online and names no bit 0x1.

The derivation is in the doc.

Fields 12

offsetsizetypenamemeaningconfidencefinding
0x00008uint64_tm_guidHolds the member's GUIDverified, proof oneui/guild#the-member-record
0x000848char[48]m_nameHolds the member's nameverified, proof oneui/guild#the-member-record
0x00384int32_tm_levelHolds the level, widened from a byteverified, proof oneui/guild#the-member-record
0x003c4int32_tm_classIdHolds the ChrClasses id, widened from a byteverified, proof oneui/guild#the-member-record
0x00404int32_tm_zoneIdHolds the AreaTable idverified, proof oneui/guild#the-member-record
0x00444uint32_tm_rankIdHolds the 0-based rank id, 0 for the guild masterverified, proof oneui/guild#the-member-record
0x00484uint32_tm_onlineHolds 1 when the presence byte is nonzeroverified, proof oneui/guild#the-member-record
0x004c1uint8_tm_presenceHolds the wire presence byte, bit 0x2 away and bit 0x4 do-not-disturbverified, proof oneui/guild#the-member-record
0x004d1uint8_tm_notesUnmaskedHolds 1 while the notes have not been run through the profanity maskerverified, proof oneui/guild#the-member-record
0x004e128char[128]m_publicNoteHolds the public noteverified, proof oneui/guild#the-member-record
0x00ce128char[128]m_officerNoteHolds the officer noteverified, proof oneui/guild#the-member-record
0x01504floatm_lastOnlineDaysHolds the days since the member was last online, 0 for an online memberverified, proof oneui/guild#the-member-record