BaseHandlerIsInteractable
function · objectlayer · primitive
- Address
0x5f2f80· 226 bytes, up to0x5f3061- Meaning
- Decides whether the active player may interact with a game object: reaction, trap lock, flags
- Confidence
- verified, proof one
- Finding
- objectlayer/gameobjects#interactable-and-mouseover
Finding: Interactable and mouseover in objectlayer: game objects
The handler's slot 5 says whether the object can be interacted with at all; most types use one
test. The active player must exist; the object's faction must not be hostile to it, except a
trap, which must have a lock and be hostile, and whose creator, when a player present without
unit flag 0x1000, refuses. Then GAMEOBJECT_FLAGS 0x1 or 0x10 refuses, as does a pending
release, and flag 0x4 requires dynamic flag 0x1. Slot 3, the mouseover test, forwards to slot 5 except as
gameobjecttypes lists.
The derivation is in the doc.
Callers 1
- FishingNodeHandlerIsInteractable objectlayer
Callees 5
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CGGameObject_C::ObjectReaction objectlayer
- CGGameObject_C::GetLockRow objectlayer
- CGObject_C::IsReleasePending objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.