ChatChannel
struct · ui · 160 bytes
- Meaning
- Holds one joined channel: slot number, name, member list, ChatChannels id, instance number and state
- Confidence
- verified, proof one
- Finding
- ui/chatchannels#joined-channel-slots
Finding: Joined channel slots in ui: chat channels
The client keeps up to ten joined channels in an array of 0xa0-byte slots (count 0xb4fe00, base
0xb4fe04): +0x00 the slot's own 1-based position, 0 while the slot is free; +0x04 the channel's
name (128 bytes); +0x84 the member list header; +0x94 the ChatChannels id, 0 for a custom
channel; +0x98 the instance number from the join notice; +0x9c the state: 0 confirmed by the server,
1 waiting for the server, 2 renamed and waiting, 3 suspended. A free slot is reused before the array grows.
The derivation is in the doc.
Fields 7
| offset | size | type | name | meaning | confidence | finding |
|---|---|---|---|---|---|---|
0x0000 | 4 | uint32_t | m_number | Holds the slot's 1-based position, 0 while the slot is free | verified, proof one | ui/chatchannels#joined-channel-slots |
0x0004 | 128 | char[128] | m_name | Holds the channel's name, the composed zone name for a zone channel | verified, proof one | ui/chatchannels#joined-channel-slots |
0x0084 | 12 | uint32_t[3] | m_members | Holds the member list: link offset and terminator link, the channel list message's members | verified, proof one | ui/chatchannels#joined-channel-slots |
0x0090 | 1 | uint8_t | m_listFlags | Holds the flag byte of the last channel list message; with 0x02 a member without 0x04 prints # | verified, proof one | ui/chatchannels#channel-list-message |
0x0094 | 4 | uint32_t | m_channelId | Holds the ChatChannels id, 0 for a custom channel | verified, proof one | ui/chatchannels#joined-channel-slots |
0x0098 | 4 | uint32_t | m_instance | Holds the instance number from the join notice, not cleared when the slot is reused | verified, proof one | ui/chatchannels#joined-channel-slots |
0x009c | 4 | uint32_t | m_state | Holds 0 confirmed, 1 waiting, 2 renamed and waiting, 3 suspended | verified, proof one | ui/chatchannels#confirming-renaming-and-dropping |
Globals of this type
0xb4fe04s_joinedChannels