CHAT_MSG_ADDON

From Warcraft Wiki
Jump to navigation Jump to search

Fires when the client receives an addon message.

CHAT_MSG_ADDON: prefix, text, channel, sender, target, zoneChannelID, localID, name, instanceID

Payload

1. prefix
string - The registered prefix as used in C_ChatInfo.RegisterAddonMessagePrefix()
2. text
string - The message body
3. channel
string - The addon channel's chat type, e.g. "PARTY"
4. sender
string - Player who initiated the message
5. target
string - The channel index and name, e.g. "4. test"; or for the "WHISPER" chat type, same as sender
6. zoneChannelID
number - Seems to be always 0
7. localID
number - The channel index or 0 if not applicable.
8. name
string - The channel name or an empty string if not applicable.
9. instanceID
number - Seems to be always 0

Details

Related API C_ChatInfo.SendAddonMessage
Related Events CHAT_MSG_ADDON_LOGGED

Patch changes

WoW Icon update.png Patch 1.12.0 (2006-08-22): Added.

References