1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Minecraft packet definitions.
//!
//! Only packets needed for the proxy's connection lifecycle are fully parsed.
//! All other packets are treated as opaque [`RawPacket`] values and forwarded
//! without inspection.
use ;
use crateProtocolError;
/// A packet that the proxy does not need to inspect.
/// Contains the raw packet ID and undecoded payload bytes.
/// Trait implemented by all typed packets.