AOS REVIVALJoin Discord
Packet ID1070x6B
Diagnostics // wire record

DebugDraw

Draws temporary development primitives. Type 0 is a box, type 1 a sphere, and types 2–4 carry only the common header.

InactivePlannedProvisional10, 24, or 34 bytes
Exact field order

Packet 107 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.

Packet 107 DebugDraw fields in byte order
#FieldEncodingBytesPurpose
0packet_idu81Always 107 (0x6B).
1typeu810 box, 1 sphere, 2–4 header-only recovered primitives.
2colouri32 LE4colour value.
3framesi32 LE4frames value.
4corner_min3 × IEEE-754 f32 LE12First box corner.When: type = 0
5corner_max3 × IEEE-754 f32 LE12Second box corner.When: type = 0
6center3 × IEEE-754 f32 LE12Sphere centre.When: type = 1
7sizesign-magnitude fixed16 LE (1/64)2Sphere radius/size.When: type = 1
Protocol convention

How to read this layout

  • LE means least-significant byte first.
  • fixed16 is two-byte sign-magnitude at 1/64 precision.
  • orientation16 uses the measured 1/8192 orientation mapping.
  • NUL strings consume their encoded byte length plus one 00 terminator.
  • Counted arrays repeat immediately in the order shown.