RaidFlag

Raid flags are used in conjunction with the sourceRaidFlags and destRaidFlags fields of the COMBAT_LOG_EVENT and COMBAT_LOG_EVENT_UNFILTERED events.

Constants
As of Patch 4.2, these flags are as follows:

Prior to Patch 4.2, these flags were part of the Unit Flags as follows:


 * Source: [ FrameXML/Constants.lua]

Explanation
A raid flag specifies which, if any, raid target is assigned to the associated unit. Raid target icons are used to display the various charms such as the star, box, and triangle.

Example

 * A player who is assigned as the first raid target is 0x01
 * A player who is assigned as the sixth target is 0x20

if bit.band(raidFlags, COMBATLOG_OBJECT_RAIDTARGET_MASK) > 0 then print("Raid Target") end