Skip to content

AttackType Enum

The AttackType enum defines the types of attacks used in Dota 2, categorizing units based on their attack class.

Enum Values

NameValueDescription
DOTA_COMBAT_CLASS_ATTACK_HERO0Represents hero attacks.
DOTA_COMBAT_CLASS_ATTACK_BASIC1Represents basic attacks.
DOTA_COMBAT_CLASS_ATTACK_PIERCE2Represents piercing attacks.
DOTA_COMBAT_CLASS_ATTACK_SIEGE3Represents siege attacks, effective against buildings.