Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Fires when the player gains any amount of honor, anything from an honorable kill to bonus honor awarded.
CHAT_MSG_COMBAT_HONOR_GAIN: text, playerName, languageName, channelName, playerName2, specialFlags, zoneChannelID, channelIndex, channelBaseName, languageID, lineID, guid, bnSenderID, isMobile, isSubtitle, hideSenderInLetterbox, supressRaidIcons
Payload[]
- 1. text
- string - format: "%s dies, honorable kill Rank: %s (Estimated Honor Points: %d)" or "You have been awarded %d honor."
- 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 and22
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. languageID
- number - LanguageID
- 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()
References[]
- ^ ChatFrame.lua, patch 8.3.0, near line 3452, archived at Townlong-Yak
- ^ ChatFrame.lua, patch 8.3.0, near line 3538, archived at Townlong-Yak
- ^ wow.tools. GlobalStrings.db2.
- ^ wow.tools. ChatChannels.db2.
- ^ ChatFrame.lua, patch 8.3.0, near line 3284, archived at Townlong-Yak