CGUnit_C::StartAttack
function · objectlayer · orchestration
- Address
0x6131a0· 134 bytes, up to0x613225- Meaning
- Toggles the player's melee attack on a checked target, or orders the pet bar's unit to attack
- Confidence
- verified, proof one
- Finding
- objectlayer/units#melee-attack
Finding: Melee attack in objectlayer: units
0x612df0(guid) checks a melee start and settles its target: no attack while dead, charmed,
stunned, pacified, fleeing, confused or mounted; an empty GUID takes the target, a friendly one is
replaced; the target must be attackable. 0x6131a0 toggles the player's attack or orders the
pet's.
The derivation is in the doc.
Callers 3
- Script::AttackTarget ui
- TryCastSpell spell
- HandleSpellGo spell
Callees 6
- PressPetAttack ui
- CGPlayer_C::StopMeleeAttack objectlayer
- CGPlayer_C::StartMeleeAttack objectlayer
- IsActivePlayerUnit objectlayer
- CGUnit_C::HasAttackTarget objectlayer
- CGUnit_C::CanStartMeleeAttack objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.