aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/config/s_select_known_packs.rs
blob: 0286b6e2559defdaaef79328d2e29e0583cf48cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use azalea_buf::AzBuf;
use azalea_protocol_macros::ServerboundConfigPacket;

#[derive(AzBuf, Clone, Debug, PartialEq, ServerboundConfigPacket)]
pub struct ServerboundSelectKnownPacks {
    pub known_packs: Vec<KnownPack>,
}

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