chunkedge_protocol/packets/play/
set_player_inventory_s2c.rs1use std::borrow::Cow;
2
3use chunkedge_binary::{Decode, Encode, VarInt};
4use chunkedge_item::ItemStack;
5
6use crate::Packet;
7
8#[derive(Clone, Debug, Encode, Decode, Packet)]
9pub struct SetPlayerInventoryS2c<'a> {
10 pub slot: VarInt,
11 pub slot_data: Cow<'a, ItemStack>,
12}