Fires when a combat log event is received. This event fires for all combat events visible to the player;
COMBAT_LOG_EVENT fires only for combat log events which match the currently defined filters.
See the chapter "Responding to the Combat Log and Threat Information" for details.
Signature:
Code
timeStamp, event, hideCaster, sourceGUID, sourceName, sourceFlags, destGUID, destName, destFlags, ... = ()
Returns:
timeStamp - The time on the server that the event occurred (number ) event - The name of the combat sub-event that occurred (string ) hideCaster - The purpose of this boolean flag is currently unknown (boolean ) sourceGUID - A string containing the hexadecimal representation of the source of the event's GUID (string , GUID) sourceName - The name of the source of the event (string ) sourceFlags - A bitfield containing information about the source of the event (number , bitfield) destGUID - A string containing the hexadecimal representation of the destination of the event's GUID (string , GUID) destName - The name of the destination of the event (string ) destFlags - A bitfield containing information about the destination of the event (number , bitfield) ... - A list of additional arguments, dependent on the particular combat sub-event. See Chapter 21 for more detailed information (varies )
Также смотрите: Игровые события
Ссылки: http://wowprogramming.com/docs/events/COMBAT_LOG_EVENT_UNFILTERED