aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/serverbound_debug_sample_subscription.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/serverbound_debug_sample_subscription.rs')
-rwxr-xr-xazalea-protocol/src/packets/game/serverbound_debug_sample_subscription.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/serverbound_debug_sample_subscription.rs b/azalea-protocol/src/packets/game/serverbound_debug_sample_subscription.rs
new file mode 100755
index 00000000..236972e0
--- /dev/null
+++ b/azalea-protocol/src/packets/game/serverbound_debug_sample_subscription.rs
@@ -0,0 +1,12 @@
+use azalea_buf::McBuf;
+use azalea_protocol_macros::ServerboundGamePacket;
+
+#[derive(Clone, Debug, McBuf, ServerboundGamePacket)]
+pub struct ServerboundDebugSampleSubscription {
+ pub sample_type: RemoteDebugSampleType,
+}
+
+#[derive(Clone, Copy, Debug, McBuf)]
+pub enum RemoteDebugSampleType {
+ TickTime,
+}