chunkedge_protocol/packets/configuration/
resource_pack_pop_s2c.rs

1use chunkedge_binary::{Decode, Encode};
2use uuid::Uuid;
3
4use crate::{Packet, PacketState};
5
6#[derive(Copy, Clone, Debug, Encode, Decode, Packet)]
7#[packet(state = PacketState::Configuration)]
8/// If uuid is None, all resource packs are removed. Else, only the resource
9/// pack with the given uuid is removed.
10pub struct ResourcePackPopS2c(pub Option<Uuid>);