PetSpellAuraActive
function · ui · primitive
- Address
0x4bcea0· 195 bytes, up to0x4bcf62- Signature
bool __fastcall (uint32_t spellId)- Meaning
- Answers whether a spell has an active icon and its aura is on the pet
- Confidence
- verified, proof one
- Finding
- ui/petbar#getpetactioninfo
Finding: GetPetActionInfo in ui: the pet bar and the form bar
GetPetActionInfo(index) returns seven values, all nil for no pet, an index outside 1 to 10 or an
empty slot. A spell slot (types 1 to 5): name, rank, icon path (the active icon when 0x4bcea0 finds
the spell's aura on the pet, else the spell icon), nil, nil, then autocast allowed and enabled as 1 or
nil, nil when the spell is unknown. A reaction (type 6): PET_MODE_ plus the token, nil,
PET_<token>_TEXTURE, 1, 1 when it is the current reaction, nil, nil. A command (type 7):
PET_ACTION_ plus the token, nil, the texture key, 1, 1 when it is the current command or attack
with the latch set, nil, nil. The names are global-string keys.
The derivation is in the doc.
Callers 2
Callees 1
- ClntObjMgrObjectPtr objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.