azalea_protocol/packets/login/
c_hello.rs

1use azalea_buf::AzBuf;
2use azalea_protocol_macros::ClientboundLoginPacket;
3
4#[derive(Clone, Debug, AzBuf, ClientboundLoginPacket)]
5pub struct ClientboundHello {
6    #[limit(20)]
7    pub server_id: String,
8    pub public_key: Vec<u8>,
9    pub challenge: Vec<u8>,
10    pub should_authenticate: bool,
11}