aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_container_button_click.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/s_container_button_click.rs')
-rwxr-xr-xazalea-protocol/src/packets/game/s_container_button_click.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/s_container_button_click.rs b/azalea-protocol/src/packets/game/s_container_button_click.rs
new file mode 100755
index 00000000..909772f3
--- /dev/null
+++ b/azalea-protocol/src/packets/game/s_container_button_click.rs
@@ -0,0 +1,8 @@
+use azalea_buf::AzBuf;
+use azalea_protocol_macros::ServerboundGamePacket;
+
+#[derive(Clone, Debug, AzBuf, ServerboundGamePacket)]
+pub struct ServerboundContainerButtonClick {
+ pub container_id: u8,
+ pub button_id: u8,
+}