BaseHandlerUse
function · objectlayer · primitive
- Address
0x5f33e0· 627 bytes, up to0x5f3652- Meaning
- Uses a game object: casts the spell that opens it or sends 0xb1, else shows why its lock refuses
- 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 10
- CDataStore::PutUInt32 base
- CDataStore::PutGuid base
- CGGameUI::DisplayError ui
- DBCache_ItemStats_C_int_HASHKEY_INT_::GetRecord dbcache
- ClientServices::Send net
- CGGameObject_C::GetLockRow objectlayer
- CGGameObject_C::LockActionAllowed objectlayer
- FindGameObjectLockOpener objectlayer
- CastSpellAsActivePlayer spell
- BindSpellTargetObject spell
Calls and jumps by a bare address, from tables/calls.tsv.