Returns whether an entity from the combat log matches a given filter
See also CombatLog functions.
Signature:
isMatch
=
CombatLog_Object_IsA(unitFlags,
mask)
Arguments:
unitFlags
- Source or destination unit flags from a combat log entry (number
, bitfield)mask
- One of the following global constants: (number
, bitfield)COMBATLOG_FILTER_EVERYTHING
- Any entityCOMBATLOG_FILTER_FRIENDLY_UNITS
- Entity is a friendly unitCOMBATLOG_FILTER_HOSTILE_PLAYERS
- Entity is a hostile player unitCOMBATLOG_FILTER_HOSTILE_UNITS
- Entity is a hostile non-player unitCOMBATLOG_FILTER_ME
- Entity is the playerCOMBATLOG_FILTER_MINE
- Entity is a non-unit object belonging to the player; e.g. a totemCOMBATLOG_FILTER_MY_PET
- Entity is the player's petCOMBATLOG_FILTER_NEUTRAL_UNITS
- Entity is a neutral unitCOMBATLOG_FILTER_UNKNOWN_UNITS
- Entity is a unit currently unknown to the WoW client
Returns:
isMatch
- 1 if the entity flags match the given mask (1nil
)