benilla-re systems structs docs

InboxNameArrived

function · ui · orchestration

Address
0x4af080 · 24 bytes, up to 0x4af097
Signature
void __stdcall (uint32_t, uint8_t ok)
Meaning
Signals MAIL_INBOX_UPDATE when a requested sender name arrives
Confidence
verified, proof one
Finding
ui/mail#reading-the-header

Finding: Reading the header in ui: the mailbox and the inbox

GetInboxNumItems() returns the record count. GetInboxHeaderInfo(index) returns 13 values: package icon, stationery icon, sender, subject, money, COD, days left, has item, read, returned, text created, can reply, GM. The first icon is the package's when its id resolves, else the item's when cached, else nil; the second is the stationery item's when cached. The sender is the name by type: player, auction house, creature or game object, nil for type 1. On a type 0 mail, stationery 61 makes the sender GM_EMAIL_NAME, can-reply nil and GM 1. A COD mail's subject is the COD_PAYMENT text formatted with it. A bad index returns four nils, three zeros and six nils.

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.