CHAT_MSG_CHANNEL

From Wowpedia
Jump to: navigation, search

Fired when the client receives a channel message.

CHAT_MSG_CHANNEL: text, playerName, languageName, channelName, playerName2, specialFlags, zoneChannelID, channelIndex, channelBaseName, unused, lineID, guid, bnSenderID, isMobile, isSubtitle, hideSenderInLetterbox, supressRaidIcons

Payload

CHAT_MSG_CHANNEL in /etrace
1. text 
string - e.g. "Hello world!"
2. playerName 
string - Name of the user that initiated the chat message.
3. languageName 
string - Localized name of the language if applicable, e.g. "Common" or "Thalassian"
4. channelName 
string - Channel name with channelIndex, e.g. "2. Trade - City"
5. playerName2 
string - The target name when there are two users involved, otherwise the same as playerName or an empty string.[1]
6. specialFlags 
string - User flags if applicable, possible values are: "GM", "DEV", "AFK", "DND", "COM"[2][3]
7. zoneChannelID 
number - The static ID of the zone channel, e.g. 1 for General, 2 for Trade and 22 for LocalDefense. [4]
8. channelIndex 
number - Channel index, this usually is related to the order in which you joined each channel.
9. channelBaseName 
string - Channel name without the number, e.g. "Trade - City"
10. unused 
number
11. lineID 
number - Unique chat lineID for differentiating/reporting chat messages. Can be passed to PlayerLocation:CreateFromChatLineID()
12. guid 
string - Sender's Unit GUID.
13. bnSenderID 
number - ID of the Battle.net friend.
14. isMobile 
boolean - If the sender is using the Blizzard Battle.net Mobile app.
15. isSubtitle 
boolean
16. hideSenderInLetterbox 
boolean - Whether this chat message is meant to show in the CinematicFrame only.[5]
17. supressRaidIcons 
boolean - Whether Target marker expressions like {rt7} and {diamond} should not be rendered with C_ChatInfo.ReplaceIconAndGroupExpressions()

External links

References

 
  1. ^ ChatFrame.lua, patch 8.3.0, near line 3452, archived at Townlong-Yak
  2. ^ ChatFrame.lua, patch 8.3.0, near line 3538, archived at Townlong-Yak
  3. ^ wow.tools. GlobalStrings.db2.
  4. ^ wow.tools. ChatChannels.db2.
  5. ^ ChatFrame.lua, patch 8.3.0, near line 3284, archived at Townlong-Yak