v0.13.8

C_Mail

namespaceavailable in: camelot

Status in wowlua

5 functions: 4 implemented, 0 recorded, 1 guessed. 14 events, 9 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
CanCheckInboxReturns whether the player can check the mailbox now and, if not, how long until they can. · by wowlua
(): (boolean, number)
implemented
GetCraftingOrderMailInfoReturns information about a crafting order mail in the inbox. · by wowlua
(inboxIndex: number): CraftingOrderMailInfo?
guessed
HasInboxMoneyReturns true if a mail has money attached.
(inboxIndex: number): boolean
implemented
IsCommandPendingReturns true if the current mail command is still processing.
(): boolean
implemented
SetOpeningAllSets whether the mailbox is opening all mail. · by wowlua
(openingAll: boolean)
implemented

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Events

eventpayloadfired by the emulator
CLOSE_INBOX_ITEMmailIndex: numberimplemented
MAIL_CLOSEDno payloadnot implemented
MAIL_FAILEDitemID: number?not implemented
MAIL_INBOX_UPDATEno payloadimplemented
MAIL_LOCK_SEND_ITEMSattachSlot: number, itemLink: stringnot implemented
MAIL_OPEN_ALL_CANCELEDno payloadnot implemented
MAIL_SEND_INFO_UPDATEno payloadimplemented
MAIL_SEND_SUCCESSno payloadimplemented
MAIL_SHOWno payloadimplemented
MAIL_SUCCESSitemID: number?implemented
MAIL_UNLOCK_SEND_ITEMSno payloadnot implemented
SEND_MAIL_COD_CHANGEDno payloadimplemented
SEND_MAIL_MONEY_CHANGEDno payloadimplemented
UPDATE_PENDING_MAILno payloadimplemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("MAIL_CLOSED").

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (MailInfo system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.