SendMailItemArrived
function · ui · orchestration
- Address
0x4ae710· 24 bytes, up to0x4ae727- Signature
void __stdcall (uint32_t, uint8_t ok)- Meaning
- Signals MAIL_SEND_INFO_UPDATE when a requested attachment item arrives
- Confidence
- verified, proof one
- Finding
- ui/mailsend#postage-and-the-attachments-details
Finding: Postage and the attachment's details in ui: composing and sending mail
GetSendMailPrice() returns the money plus the postage: 30 copper, plus the buy price of the selected stationery's item
when the player does not carry one and the item is cached, plus the cost of the selected package. GetSendMailItem()
returns the attachment's name, icon path, count and quality; with no attachment, a missing object or an uncached item
it returns nil, nil, 0, 0. Quality is the template +0x1c when its +0x2c is nonzero, else -1, and the count is the
item's stack count field. An item that arrives late raises MAIL_SEND_INFO_UPDATE.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.