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

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