CGUnit_C::HasAttackTarget
function · objectlayer · primitive
- Address
0x60ecb0· 24 bytes, up to0x60ecc7- Meaning
- Returns whether the attack target GUID +0xc48 is set
- 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 13
- CGGameUI::SelectTarget ui
- CGPlayer_C::ToggleSheathe objectlayer
- CGPlayer_C::StopMeleeAttack objectlayer
- CGPlayer_C::StartMeleeAttack objectlayer
- CGPlayer_C::SetLocalStandState objectlayer
- CGUnit_C::ResolveReadyAnimation objectlayer
- CGUnit_C::IsPlainLocomotion objectlayer
- CGUnit_C::UpdateSheatheForAnimation objectlayer
- CGUnit_C::ClearTargetIfSelected objectlayer
- CGUnit_C::Update objectlayer
- CGUnit_C::IsInCombat objectlayer
- CGUnit_C::StartAttack objectlayer
- TryCastSpell spell
Callees 1
- ReadGuidAt objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.