benilla-re systems structs docs

CGGameObject_C::LockActionAllowed

function · objectlayer · primitive

Address
0x5f81d0 · 135 bytes, up to 0x5f8256
Meaning
Tests a lock slot's action against the game object's state and flags
Confidence
verified, proof one
Finding
objectlayer/gameobjects#locks

Finding: Locks in objectlayer: game objects

A lock is the Lock.dbc row its data column open names. Each of its eight slots has a key type, an index, a skill and an action. A skill slot (type 2) opens with a known spell whose effect 33 names the index and whose points reach the slot's skill, or 5 times the level; an item slot (type 1) with an item of the index's entry in the inventory. The first opener found wins; a lock with key slots and no opener is closed.

The derivation is in the doc.

Callers 4

Callees 0

None by a direct call or jump.

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