aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_debug_sample_packet.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_debug_sample_packet.rs')
-rwxr-xr-xazalea-protocol/src/packets/game/clientbound_debug_sample_packet.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_debug_sample_packet.rs b/azalea-protocol/src/packets/game/clientbound_debug_sample_packet.rs
new file mode 100755
index 00000000..641fd05e
--- /dev/null
+++ b/azalea-protocol/src/packets/game/clientbound_debug_sample_packet.rs
@@ -0,0 +1,10 @@
+use azalea_buf::McBuf;
+use azalea_protocol_macros::ClientboundGamePacket;
+
+use super::serverbound_debug_sample_subscription::RemoteDebugSampleType;
+
+#[derive(Clone, Debug, McBuf, ClientboundGamePacket)]
+pub struct ClientboundDebugSamplePacket {
+ pub sample: Vec<u64>,
+ pub debug_sample_type: RemoteDebugSampleType,
+}