Lore archive · Warcraft Wiki, 2023 dump
API DeleteInboxItem
Last wiki revision 2022-07-21
Requests the server to remove a mailbox message. DeleteInboxItem(index)
- index: - the index of the message (1 is the first message)
- DeleteInboxItem returns immediately but one must listen for.
- The asynchronous request may fail for different reasons, such as an invalid index or when another deletion request is already in progress
- DeleteInboxItem is an unconditional request; the server does not check whether the message still has an item or money attached.
- The confirmation box that appears in game for these conditions is instead triggered by before calling DeleteInboxItem.
- Note that InboxItemCanDelete is not a permission-checking function, it is just an API for determining whether a message is returnable (and thus has a misleading name). All messages are in fact deletable.
Source
https://warcraft.wiki.gg/wiki/API_DeleteInboxItem · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.