aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_command_suggestion.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/s_command_suggestion.rs')
-rwxr-xr-xazalea-protocol/src/packets/game/s_command_suggestion.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/s_command_suggestion.rs b/azalea-protocol/src/packets/game/s_command_suggestion.rs
new file mode 100755
index 00000000..2e52a969
--- /dev/null
+++ b/azalea-protocol/src/packets/game/s_command_suggestion.rs
@@ -0,0 +1,9 @@
+use azalea_buf::AzBuf;
+use azalea_protocol_macros::ServerboundGamePacket;
+
+#[derive(Clone, Debug, AzBuf, ServerboundGamePacket)]
+pub struct ServerboundCommandSuggestion {
+ #[var]
+ pub id: u32,
+ pub command: String,
+}