v0.13.8

CHAT_MSG_ADDON

eventimplementedC_ChatInfoavailable in: camelot

Fires when an addon message arrives, sent with C_ChatInfo.SendAddonMessage under a prefix the player's client registered with C_ChatInfo.RegisterAddonMessagePrefix. · description by wowlua

declarationwowlua
declare event CHAT_MSG_ADDON(prefix: string, text: string, channel: string, sender: string, target: string, zoneChannelID: number, localID: number, name: string, instanceID: number)

Payload

#nametypedescription
1prefixstringThe prefix the message was sent with.
2textstringThe message payload.
3channelstringThe chat type the message came through, such as "PARTY", "GUILD" or "WHISPER".
4senderstringThe name of the sender.
5targetstringThe name of the target, for whispered messages.
6zoneChannelIDnumberThe ID of the zone channel, for channel messages.
7localIDnumberThe channel's number in the player's channel list, for channel messages.
8namestringThe channel's name, for channel messages.
9instanceIDnumber

Blizzard's documentation marks the event as synchronous.

In wowlua's emulated client

implementedThe emulator fires it on its own, from its chat model. what the statuses mean

sources

Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (ChatInfo system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.