MailItemTaken
function · ui · primitive
- Address
0x4ad7b0· 266 bytes, up to0x4ad8b9- Signature
void __fastcall (uint32_t mailId)- Meaning
- Zeroes a mail's item and deletes the mail when nothing more can be taken
- Confidence
- verified, proof one
- Finding
- ui/mail#mail-changes-after-a-result
Finding: Mail changes after a result in ui: the mailbox and the inbox
A taken-money result zeroes the money. A taken-item result zeroes the item entry. Each then deletes the mail on its own (opcode 0x249, then CLOSE_INBOX_ITEM with the index) when nothing more can be taken: money taken deletes a COD mail, or an auction mail with no item; item taken deletes an auction mail, or a mail with no text and no template, that has no money left. MAIL_INBOX_UPDATE follows either way. A removed mail shifts the later records down and lowers the count; the made-permanent result only sets flag 4.
The derivation is in the doc.
Callers 1
Callees 5
- CDataStore::PutUInt32 base
- CDataStore::PutGuid base
- ClientServices::Send net
- FrameScript_SignalEvent ui
- FrameScript_SignalEvent2 ui
Calls and jumps by a bare address, from tables/calls.tsv.