Packet 22 wire layout
The first byte is the application packet ID. The rows after it appear in decode order. Sizes exclude ENet headers, the outer wrapper prefix, LZF chunk framing, and compression effects.
| # | Field | Encoding | Bytes | Purpose |
|---|---|---|---|---|
| 0 | packet_id | u8 | 1 | Always 22 (0x16). |
| 1 | name | NUL-terminated UTF-8 string | N + 1 | Validated retail sound asset name. |
| 2 | loop_id | u8 | 1 | loop id value. |
| 3 | point_count | u8 | 1 | P: emitter point count. |
| 4 | points[] | P × 3 × i16 LE | 6P | Raw signed-short X/Y/Z emitter coordinates. |
Protocol convention
How to read this layout
LEmeans least-significant byte first.fixed16is two-byte sign-magnitude at 1/64 precision.orientation16uses the measured 1/8192 orientation mapping.- NUL strings consume their encoded byte length plus one
00terminator. - Counted arrays repeat immediately in the order shown.