Skip to main content

steel_protocol/packets/game/
s_container_slot_state_changed.rs

1use steel_macros::{ReadFrom, ServerPacket};
2
3#[derive(ServerPacket, ReadFrom, Clone, Debug)]
4pub struct SContainerSlotStateChanged {
5    #[read(as = VarInt)]
6    pub slot_id: i32,
7    #[read(as = VarInt)]
8    pub container_id: i32,
9    pub new_state: bool,
10}