diff options
Diffstat (limited to 'azalea-protocol/src/packets/game/s_bundle_item_selected.rs')
| -rw-r--r-- | azalea-protocol/src/packets/game/s_bundle_item_selected.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/s_bundle_item_selected.rs b/azalea-protocol/src/packets/game/s_bundle_item_selected.rs new file mode 100644 index 00000000..552e51f8 --- /dev/null +++ b/azalea-protocol/src/packets/game/s_bundle_item_selected.rs @@ -0,0 +1,10 @@ +use azalea_buf::AzBuf; +use azalea_protocol_macros::ServerboundGamePacket; + +#[derive(Clone, Debug, AzBuf, ServerboundGamePacket)] +pub struct ServerboundBundleItemSelected { + #[var] + pub slot_id: i32, + #[var] + pub selected_item_index: u32, +} |
