CGUnit_C::IsShapeShifted
function · objectlayer · primitive
- Address
0x60e9f0· 61 bytes, up to0x60ea2c- Meaning
- Returns whether the form byte names a form without flag bit 0, faulting on a form with no row
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- objectlayer/unitdisplay#shapeshift-forms
Finding: Shapeshift forms in objectlayer: unit display
0x60e9f0 returns whether a unit is shapeshifted: UNIT_FIELD_BYTES_1 byte 2 names a
SpellShapeshiftForm row whose flags lack bit 0, which the 1.12 table sets on the warrior
stances, Shadowform, Stealth and Moonkin Form. A form id with no row crashes the client.
The derivation is in the doc.
Callers 7
- CGTooltip::BuildSpell ui
- CGItem_C::Use objectlayer
- OnShapeshiftFormChanged objectlayer
- CGPlayer_C::InteractWithNpc objectlayer
- BaseHandlerCanUse objectlayer
- CGUnit_C::CanInteractNow objectlayer
- CheckSpellShapeshiftForm objectlayer
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.