azalea_protocol/packets/configuration/
serverbound_select_known_packs_packet.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
use azalea_buf::McBuf;
use azalea_protocol_macros::ServerboundConfigurationPacket;

#[derive(Clone, Debug, McBuf, ServerboundConfigurationPacket)]
pub struct ServerboundSelectKnownPacksPacket {
    pub known_packs: Vec<KnownPack>,
}

#[derive(Clone, Debug, McBuf)]
pub struct KnownPack {
    pub namespace: String,
    pub id: String,
    pub version: String,
}