benilla-re systems structs docs

s_fieldCountJumpTable

global · objectlayer

Address
0x465b08 · 36 bytes, up to 0x465b2b
Type
void *[9]
Meaning
Holds the field count cases of 0x465a80 for the eight types and the default
Confidence
verified, proof one
Finding
objectlayer/update#values-block

Finding: Values block in objectlayer: update

A values block is a u8 count n, n u32 mask words, then one u32 for each set mask bit, in increasing field index. Bit i is word i >> 5, bit i & 31. Only indices below the object's field count are visited: 6 for an object, 48 item, 122 container, 188 unit, 1282 for the active player and 486 for another player, 26 game object, 16 dynamic object, 38 corpse. Words past n count as zero up to 41; a bit set at or above the field count is never read, and its value stays in the packet, out of step with the reader.

The derivation is in the doc.