CGGameUI::Target
function · ui · orchestration
- Address
0x489a40· 59 bytes, up to0x489a7a- Signature
void __thiscall (uint64_t *this)- Meaning
- Selects a GUID when its unit object exists or it names a raid member or pet
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/targeting#target-by-token
Finding: Target by token in ui: selecting a target
TargetUnit("unit") resolves the token to a GUID through GetGUIDFromName and calls CGGameUI::Target, which selects the
GUID when its unit object exists or it names a raid member or pet. ClearTarget() calls 0x493540(0) and returns 1 if there
was a target, else nil. TargetLastTarget() selects the GUID kept at 0xb4e2e0, or clears the target when it is 0,
TargetLastEnemy() the one kept at 0xb4e2e8. AttackTarget() calls StartAttack on the active player. All raise
Usage: TargetUnit("unit") and the like for a non-string argument, except the argumentless ones.
The derivation is in the doc.
Callers 5
- Script::TargetUnit ui
- Script::TargetLastTarget ui
- Script::TargetLastEnemy ui
- Script::AssistUnit ui
- Script::AssistByName ui
Callees 3
- ClntObjMgrObjectPtr objectlayer
- IsRaidMemberOrPet ui
- CGGameUI::SelectTarget ui
Calls and jumps by a bare address, from tables/calls.tsv.