s_mailCount
global · ui
- Address
0xb6efc0· 4 bytes, up to0xb6efc3- Type
uint32_t- Meaning
- Holds the number of mails in the inbox list
- Confidence
- verified, proof one
- 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.