benilla-re systems structs docs

PENDINGUSERLIST

struct · ui · 24 bytes

Meaning
Holds one member of a channel list message waiting to print: link, GUID and member flags
Confidence
verified, proof one
Finding
ui/chatchannels#channel-list-message

Finding: Channel list message in ui: chat channels

Opcode 0x9b, handled by 0x49c690: the channel name (at most 128 bytes), a flag byte, an i32 count of members, each a GUID and a flag byte; an unknown channel skips the rest. The flag byte goes to the slot's +0x90; each member becomes a 0x18-byte node appended to the slot's member list at +0x84, its name asked of the name cache with the callback 0x49ccc0. When every name is cached, or the count is 0 or less, the list prints at once (0x49c7e0); otherwise the callback prints it when a name arrives, first freeing the node of a member whose answer is a refusal. Nodes of an earlier message whose names never came print with the new ones.

The derivation is in the doc.

Fields 3

offsetsizetypenamemeaningconfidencefinding
0x00008uint32_t[2]m_linkHolds the list link, previous then nextverified, proof oneui/chatchannels#channel-list-message
0x00088uint64_tm_guidHolds the member's GUID, the name cache keyverified, proof oneui/chatchannels#channel-list-message
0x00101uint8_tm_flagsHolds the member flags: 0x01 owner, 0x02 moderator, 0x04 voiced, which pick the prefixverified, proof oneui/chatchannels#printing-the-member-list