The names on these enum values aren't the best.
COMBAT_UNIT_TYPE_PLAYER - You.
COMBAT_UNIT_TYPE_GROUP - Group member.
COMBAT_UNIT_TYPE_OTHER - Other player (must be a real player, not an NPC).
COMBAT_UNIT_TYPE_PLAYER_PET - Your pet.
COMBAT_UNIT_TYPE_TARGET_DUMMY - Any target dummy.
COMBAT_UNIT_TYPE_NONE - Not one of the above.
_MAX_VALUE and _MIN_VALUE are auto-generated values that are useful for iterating the enumeration.
|