benilla-re systems structs docs

CPlayerMoveEvent

struct · collision · 80 bytes

Meaning
Holds one queued movement event: list link, time, tag, pose, status snapshot, payload and flags
Confidence
verified, proof one
Finding
collision/events#event-node

Finding: Event node in collision: events

0x6175d0(time, tag) takes the first node of the free list 0xc4db88 and unlinks it, or, when the list is empty, allocates 80 bytes with SMemAlloc (0x6462e0) under the type name .?AUCPlayerMoveEvent@@ (0x8613e4) and zeroes the link and position. It then stores the time, the tag and 0 at +0x4c. A recycled node keeps its old pose and payload. 0x615910 moves a spent first node to the free list's tail; nodes are freed only by 0x615a50 when no manager exists (SMemFree at 0x615aaa) and by the manager teardown 0x616910, which frees the free list.

offsetfieldwriters
+0x00, +0x04list link: previous link, next node (bit 0 set marks the end)list code
+0x08time the event takes effect0x6175d0
+0x0ctag0x6175d0
+0x10, +0x1c, +0x20position (3 floats), facing, pitch0x617570, 0x617730
+0x28transport GUID0x617730
+0x30movement flags & 0x75a07dff0x617730
+0x34fall time0x617730
+0x38new speed (tags 20 to 25) or knockback direction x0x6176a0, 0x6177a0
+0x3c, +0x40, +0x44knockback direction y, horizontal and vertical speed0x6177a0
+0x48server change counterthe three adders
+0x4c1 when a status snapshot filled +0x10 to +0x340x617730
+0x4d1 when processing the event sends its opcode to the serverthe three adders

The derivation is in the doc.

Fields 17

offsetsizetypenamemeaningconfidencefinding
0x00004void *m_linkPrevHolds the link to the previous node of the list the event is inverified, proof onecollision/events#event-node
0x00044void *m_linkNextHolds the next node, or the list's own link with bit 0 set at the endverified, proof onecollision/events#event-node
0x00084uint32_tm_timeHolds the time the event takes effect, the queue's sort key, compared as a signed differenceverified, proof onecollision/events#event-node
0x000c4uint32_tm_tagHolds the internal tag, 0 to 38, that the two consumer switches map to an action and opcodeverified, proof onecollision/events#event-node
0x001012float[3]m_positionHolds the event position, transport-local when the snapshot has a transportverified, proof onecollision/events#event-node
0x001c4floatm_facingHolds the event facing, transport-local when the snapshot has a transportverified, proof onecollision/events#event-node
0x00204floatm_pitchHolds the event pitchverified, proof onecollision/events#event-node
0x00288uint64_tm_transportGuidHolds the snapshot's transport GUID, 0 off a transportverified, proof onecollision/events#event-node
0x00304uint32_tm_moveFlagsHolds the snapshot's movement flags masked with 0x75a07dffverified, proof onecollision/events#event-node
0x00344uint32_tm_fallTimeHolds the snapshot's fall time, the status field 0x7c6340 copies from CMovement+0x78verified, proof onecollision/events#event-node
0x00384floatm_valueHolds the new speed for tags 20 to 25, or the first knockback direction componentverified, proof onecollision/events#event-node
0x003c4floatm_directionYHolds the second knockback direction componentverified, proof onecollision/events#event-node
0x00404floatm_speedXYHolds the knockback horizontal speedverified, proof onecollision/events#event-node
0x00444floatm_speedZHolds the knockback vertical speed, stored into CMovement+0xa0 by 0x7c61f0verified, proof onecollision/events#event-node
0x00484uint32_tm_counterHolds the server change counter that the acknowledgement echoesverified, proof onecollision/events#event-node
0x004c1uint8_tm_hasStatusHolds 1 when 0x617730 filled the snapshot fields, 0 from allocationverified, proof onecollision/events#event-node
0x004d1uint8_tm_sendHolds 1 when processing the event sends its opcode to the serververified, proof onecollision/events#event-node