CGGameUI::TargetKindAccepts
function · ui · primitive
- Address
0x493e40· 270 bytes, up to0x493f4d- Signature
uint32_t __fastcall (CGUnit_C *player, CGUnit_C *unit, uint32_t kind)- Meaning
- Answers whether a unit suits a targeting kind: enemy, friend, party member or raid member
- Confidence
- verified, proof one
- Finding
- ui/targeting#the-candidate-filter
Finding: The candidate filter in ui: selecting a target
A candidate is a unit that the kind accepts. Kind 1 accepts a living unit with health, that the player can attack, whose
dynamic flags +0x224 lack bit 5, and whose slot +0xa4 does not answer 7. Kind 2 accepts a unit the player can assist
that has health. Kind 3 accepts a party member other than the player, and kind 4 a party or raid member other than the
player. Any other kind accepts everything.
The derivation is in the doc.
Callers 3
Callees 5
- CGGameUI::IsPartyMember ui
- IsPartyOrRaidMember ui
- IsDeadOrGhost objectlayer
- CGUnit_C::CanAssist_Unit objectlayer
- CGUnit_C::CanAttack objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.