benilla-re systems structs docs

CGGameObject_C::Interact

function · objectlayer · orchestration

Address
0x5f8660 · 80 bytes, up to 0x5f86af
Meaning
Interacts with a game object, storing the auto-loot choice first
Confidence
verified, proof one
Finding
objectlayer/gameobjects#using-a-game-object

Finding: Using a game object in objectlayer: game objects

For an interactable object, the object's slot 24 sets the player's auto-loot byte from its argument and interacts: when usable, the handler's slot 7 uses it; out of range, except a fishing node, the player walks to the handler's range, never the opening spell's, and tries again on arrival; any other refusal shows its error. The default use casts the lock's opening spell with its item on the object, or, with no spell, sends 0xb1 with the object's GUID. A lock the player cannot open shows why.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 4

Calls and jumps by a bare address, from tables/calls.tsv.