SetSendMailCodChecked
function · ui · primitive
- Address
0x4adc70· 30 bytes, up to0x4adc8d- Signature
void __fastcall (uint32_t amount)- Meaning
- Stores the draft COD amount when an item is attached and signals SEND_MAIL_COD_CHANGED
- Confidence
- verified, proof one
- Finding
- ui/mailsend#money-and-cod
Finding: Money and COD in ui: composing and sending mail
SetSendMailMoney(amount) stores the amount when the active player's coinage covers it, signals
SEND_MAIL_MONEY_CHANGED and returns 1; otherwise it shows ERR_NOT_ENOUGH_MONEY and returns nil. A negative amount
fails the unsigned test. SetSendMailCOD(amount) stores the amount only while an item is attached, signals
SEND_MAIL_COD_CHANGED and returns nothing. It tests no coinage and does not clear the money. GetSendMailMoney() and
GetSendMailCOD() return the cells. A non-number raises Usage: SetSendMailMoney(amount) or Usage: SetSendMailCOD(amount).
The derivation is in the doc.
Callers 1
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.