CGGameObject_C::ObjectReaction
function · objectlayer · orchestration
- Address
0x5f7fd0· 95 bytes, up to0x5f802e- Signature
uint32_t __thiscall (CGGameObject_C *this, CGUnit_C *other)- Meaning
- Returns its creator's reaction toward a unit when the creator is live, else its faction's, else 3
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- objectlayer/reaction#corpses-and-game-objects
Finding: Corpses and game objects in objectlayer: reaction
A unit's reaction toward a corpse compares the unit's template with the corpse's, through the
template comparator alone, and is 3 when either is missing. A game object reacts as its creator
does when its creator, field 6, is a live unit; otherwise as its faction, field 20, through
0x606530; with no faction it is 3.
The derivation is in the doc.
Callers 4
- RefreshQuestGiverStatusOf objectlayer
- RefreshQuestGiverObjectOf objectlayer
- BaseHandlerIsInteractable objectlayer
- CGUnit_C::CanInteract_GameObject objectlayer
Callees 3
- ClntObjMgrObjectPtr objectlayer
- CGUnit_C::UnitReaction objectlayer
- CGUnit_C::UnitReaction_Unit objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.