valence_protocol/packets/play/
screen_handler_slot_update_s2c.rs
1use std::borrow::Cow;
2
3use crate::{Decode, Encode, ItemStack, Packet, VarInt};
4
5#[derive(Clone, Debug, Encode, Decode, Packet)]
6pub struct ScreenHandlerSlotUpdateS2c<'a> {
7 pub window_id: i8,
8 pub state_id: VarInt,
9 pub slot_idx: i16,
10 pub slot_data: Cow<'a, ItemStack>,
11}