CGUnit_C::CanInteractNow
function · objectlayer · primitive
- Address
0x606880· 179 bytes, up to0x606932- Signature
bool __thiscall (CGUnit_C *this, CGUnit_C *other)- Meaning
- Returns whether a unit may interact now: both alive, uncharmed, an allowed form, the NPC out of combat
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- objectlayer/reaction#interacting-now
Finding: Interacting now in objectlayer: reaction
0x606880(this = A, B) adds the state to interacting: A not flagged 0x100000, uncharmed and
alive; when shapeshifted, only in a form whose SpellShapeshiftForm.dbc flags carry 0x8; B alive,
or allowed to be talked to dead, uncharmed and out of combat; then 0x6067f0.
The derivation is in the doc.
Callers 1
Callees 4
- CGUnit_C::CanInteract objectlayer
- CGUnit_C::IsShapeShifted objectlayer
- CGUnit_C::IsInCombat objectlayer
- CGUnit_C::CanInteractWhileDead objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.