aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_client_command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/s_client_command.rs')
-rwxr-xr-xazalea-protocol/src/packets/game/s_client_command.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/s_client_command.rs b/azalea-protocol/src/packets/game/s_client_command.rs
new file mode 100755
index 00000000..5742bdb4
--- /dev/null
+++ b/azalea-protocol/src/packets/game/s_client_command.rs
@@ -0,0 +1,13 @@
+use azalea_buf::AzBuf;
+use azalea_protocol_macros::ServerboundGamePacket;
+
+#[derive(Clone, Debug, AzBuf, ServerboundGamePacket)]
+pub struct ServerboundClientCommand {
+ pub action: Action,
+}
+
+#[derive(AzBuf, Clone, Copy, Debug)]
+pub enum Action {
+ PerformRespawn = 0,
+ RequestStats = 1,
+}