benilla-re systems structs docs

ObjectManager

struct · objectlayer · 224 bytes

Meaning
Holds the object manager: the live and released GUID tables, the reuse and object lists, the active player
Confidence
verified, proof one
Finding
objectlayer/manager#manager-block

Finding: Manager block in objectlayer: manager

0x464ff0(map) allocates the 0xe0-byte manager and lays it out: the live table at +0x00 (buckets +0x1c, mask +0x24), the released table at +0x28 (buckets +0x44, mask +0x4c), both masks −1 until first use; seven reuse lists of 12 bytes from +0x50; the object list at +0xa4 with link offset 0x38; the reactivated list at +0xb0; and zeros from +0xc0 to +0xd8. It stores the block at 0xb41414 and at +0x1ad8 of the client [0xc28114], the client at +0xd0, registers the update handlers, and stores the map argument at +0xcc.

The derivation is in the doc.

Fields 9

offsetsizetypenamemeaningconfidencefinding
0x000040uint8_t[40]m_liveObjectsHolds the GUID hash table of live objects: buckets at +0x1c, mask at +0x24verified, proof oneobjectlayer/manager#manager-block
0x002840uint8_t[40]m_releasedObjectsHolds the GUID hash table of released objects: buckets at +0x44, mask at +0x4cverified, proof oneobjectlayer/manager#manager-block
0x005084uint32_t[21]m_reuseListsHolds seven 12-byte reuse lists of released objects, one per type 1 to 7verified, proof oneobjectlayer/manager#manager-block
0x00a412uint32_t[3]m_objectsHolds the list of every live object, link offset 0x38verified, proof oneobjectlayer/manager#manager-block
0x00b012uint32_t[3]m_reactivatedHolds the list of objects reactivated during the current update packetverified, proof oneobjectlayer/manager#manager-block
0x00c08uint64_tm_activePlayerGuidHolds the active player's GUID, written by 0x4660a0 for a new object with create flag 1verified, proof twoobjectlayer/update#create-block
0x00cc4uint32_tm_mapIdHolds the map id, written by 0x4685a0verified, proof oneobjectlayer/manager#manager-block
0x00d04ClientConnection *m_clientHolds the client connection the update handlers are registered on, written by 0x4685b0verified, proof oneobjectlayer/manager#manager-block
0x00d44MovementGlobals *m_movementGlobalsHolds the movement manager, written by 0x468600verified, proof oneobjectlayer/manager#accessors-and-enumeration