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
| offset | size | type | name | meaning | confidence | finding |
|---|---|---|---|---|---|---|
0x0000 | 40 | uint8_t[40] | m_liveObjects | Holds the GUID hash table of live objects: buckets at +0x1c, mask at +0x24 | verified, proof one | objectlayer/manager#manager-block |
0x0028 | 40 | uint8_t[40] | m_releasedObjects | Holds the GUID hash table of released objects: buckets at +0x44, mask at +0x4c | verified, proof one | objectlayer/manager#manager-block |
0x0050 | 84 | uint32_t[21] | m_reuseLists | Holds seven 12-byte reuse lists of released objects, one per type 1 to 7 | verified, proof one | objectlayer/manager#manager-block |
0x00a4 | 12 | uint32_t[3] | m_objects | Holds the list of every live object, link offset 0x38 | verified, proof one | objectlayer/manager#manager-block |
0x00b0 | 12 | uint32_t[3] | m_reactivated | Holds the list of objects reactivated during the current update packet | verified, proof one | objectlayer/manager#manager-block |
0x00c0 | 8 | uint64_t | m_activePlayerGuid | Holds the active player's GUID, written by 0x4660a0 for a new object with create flag 1 | verified, proof two | objectlayer/update#create-block |
0x00cc | 4 | uint32_t | m_mapId | Holds the map id, written by 0x4685a0 | verified, proof one | objectlayer/manager#manager-block |
0x00d0 | 4 | ClientConnection * | m_client | Holds the client connection the update handlers are registered on, written by 0x4685b0 | verified, proof one | objectlayer/manager#manager-block |
0x00d4 | 4 | MovementGlobals * | m_movementGlobals | Holds the movement manager, written by 0x468600 | verified, proof one | objectlayer/manager#accessors-and-enumeration |