CGUnit_C::IsPlayerOrHunterPet
function · objectlayer · primitive
- Address
0x6116e0· 131 bytes, up to0x611762- Meaning
- Returns whether a unit is a player or the active hunter's charm or summon with a pet number
- Confidence
- verified, proof one
- Finding
- objectlayer/units#reactions-tokens-and-groups
Finding: Reactions, tokens and groups in objectlayer: units
0x606e20 redraws a unit's name and signals UNIT_FACTION for it and the units it summons and
charms; for the active player it then does so for every unit not the player's own. 0x60c520
keeps the unit's token flags +0xc90, which register it for unit events while nonzero.
0x606c20 and 0x606d20 tell whether two player-controlled units share the active player's
party or raid.
The derivation is in the doc.
Callers 9
- SetPetGuid ui
- Script::HasPetUI ui
- Script::GetPetLoyalty ui
- Script::GetPetTrainingPoints ui
- Script::GetPetExperience ui
- Script::GetPetHappiness ui
- Script::GetPetFoodTypes ui
- Script::GetPetIcon ui
- Script::SetPetStablePaperdoll ui
Callees 2
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.