Script::DeleteInboxItem
function · ui · primitive
- Address
0x4afcd0· 298 bytes, up to0x4afdf9- Signature
int __fastcall (lua_State *L)- Meaning
- Sends the delete request for a mail that may be deleted
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/mail#taking-returning-and-deleting
Finding: Taking, returning and deleting in ui: the mailbox and the inbox
Five functions send one request each and return nothing. They share three guards: no request is pending (0xb6efc8),
a mailbox is open and the index names a stored mail; the pending flag is then set until the result arrives. Then
TakeInboxMoney needs money in the mail; TakeInboxItem needs an item and, for COD, coinage of at least the COD
amount (else ERR_NOT_ENOUGH_MONEY); TakeInboxTextItem needs a text id or template and flag 4 clear;
ReturnInboxItem needs a type 0 mail with an item or money and neither flag 2 nor 8; DeleteInboxItem needs a
returned or COD flag, a type other than 0, or no item and no money. InboxItemCanDelete(index) applies the same rule.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 7
- __ftol crt
- CDataStore::PutUInt32 base
- CDataStore::PutGuid base
- ClientServices::Send net
- lua_isnumber lua
- lua_tonumber lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.