AOS REVIVALJoin Discord
Packet ID0100x0A
Combat // wire record

UseOrientedItem

Uses an oriented item such as a legacy grenade-family object. The server validates the active tool, cadence, and stock before accepting or relaying it.

BothHandled + sentImplementation-backed21 bytes
Exact field order

Packet 10 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 10 UseOrientedItem fields in byte order
#FieldEncodingBytesPurpose
0packet_idu81Always 10 (0x0A).
1loop_counti32 LE4Simulation-loop stamp used for ordering, prediction, or reconciliation.
2player_idu81Compact player-slot identifier.
3toolu81Tool/object identifier.
4valuesign-magnitude fixed16 LE (1/64)2Item-specific scalar, commonly fuse or charge.
5position3 × fixed16 LE6X, Y, and Z components at 1/64-unit precision.
6velocity3 × fixed16 LE6X, Y, and Z components at 1/64-unit precision.
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.