benilla-re systems structs docs

s_gameObjectWatchedFields

global · objectlayer

Address
0x838f6c · 20 bytes, up to 0x838f7f
Type
uint32_t[5]
Meaning
Holds the game object's watched field indices, 3, 8, 17, 18 and 20
Confidence
verified, proof one
Finding
objectlayer/fields#watched-fields

Finding: Watched fields in objectlayer: fields

Each type watches a fixed subset of its fields and keeps 4 bytes per watched field after its field array: object 3, item 35, container 107, unit 170, the active player 1108 and another player 465, game object 8, dynamic object 3, corpse 6. A table per section lists the watched field indices; a field's slot in the copy is its position in that table plus the counts of the sections before it, times 4. The player's table has a part only the active player watches.

The derivation is in the doc.