As far as I can tell these are not functioning at all.
I am currently writing a new combat logger to replace CLS, and in the process have been digging around the game files for various options. You can set a handler for EVENT_CHAT_MESSAGE_CHANNEL but the game will never issue combat events, you will only get general chat messages such as CHAT_CHANNEL_ZONE.
I believe these combat category definitions are for a non-functioning combat log system. The game files contain references to a combat log, but it is clearly not functional. For example, these functions exist but do not seem to be called:
CHAT_SYSTEM:AddCombatLog(name)
CHAT_SYSTEM:SetCombatLogObject(combatLogObject)
I tried calling AddCombatLog, but since there is no ComatLogObject set, it will not function. In theory we could create our own object and pass it to the SetCombatLogObject function, but I doubt this will work.
For the record, all combat addons access combat data via EVENT_COMBAT_EVENT. Sure would be nice if the built in combat log was functional though!
Last edited by mattmillus : 07/22/14 at 06:55 PM.
|