aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_server_data_packet.rs
blob: 16841e3a080cdd2bd4fd44929a082f839ac68df5 (plain)
1
2
3
4
5
6
7
8
9
10
use azalea_buf::McBuf;
use azalea_chat::Component;
use azalea_protocol_macros::ClientboundGamePacket;

#[derive(Clone, Debug, McBuf, ClientboundGamePacket)]
pub struct ClientboundServerDataPacket {
    pub motd: Option<Component>,
    pub icon_base64: Option<String>,
    pub enforces_secure_chat: bool,
}