HandleMailListResultPacket
function · ui · primitive
- Address
0x4ad1b0· 1081 bytes, up to0x4ad5e8- Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)- Meaning
- Reads the mail list into the record array, answers ignored senders, fixes defaults, signals MAIL_INBOX_UPDATE
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/mail#the-list-packet
Finding: The list packet in ui: the mailbox and the inbox
SMSG_MAIL_LIST_RESULT (0x23b, 0x4ad1b0) carries a u8 mail count and that many mails. The array of mail records
grows to the count (never shrinks) and each record is 0x260 bytes. The reader is the stream reader of 0x418cb0 to
0x4191b0; the table gives the wire order with the record offset each field lands in.
| offset | wire field |
|---|---|
| +0x00 | mail id u32 |
| +0x04 | type u8: 0 player, 2 auction, 3 creature, 4 game object |
| +0x08 or +0x10 | type 0: sender GUID u64 at +8 and 0 at +0x10; types 1 to 4: sender id u32 at +0x10 and 0 at +8; above 4: none |
| +0x14 | subject, a string copied with no bound into the 0x100 bytes to +0x113 |
| +0x114, +0x118, +0x11c | item text id, package id, stationery id (u32 each) |
| +0x120, +0x124, +0x128, +0x12c | item entry, enchantment id, random property id, suffix factor |
| +0x130 | item count u8 |
| +0x134, +0x138, +0x13c | charges, then two more u32, unread |
| +0x140, +0x144 | money, COD amount |
| +0x148 | flags: 1 read, 2 returned, 4 text turned into an item, 8 COD |
| +0x14c | days left, f32 |
| +0x25c | mail template id u32 |
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 16
- CDataStore::PutUInt32 base
- CDataStore::PutGuid base
- CDataStore::GetUInt8 base
- CDataStore::GetInt32 base
- CDataStore::GetUInt32 base
- CDataStore::GetGuid base
- CDataStore::GetFloat base
- CDataStore::GetCString base
- MaskProfanity ui
- ParseAuctionSubject ui
- GrowArrayBy4b03c0 ui
- ClientServices::Send net
- FriendList::IsIgnored net
- SMemAlloc storm
- SStrCopy storm
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.