aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/login/serverbound_key_packet.rs
blob: dc0abeac364813c4dae6007d67cddd2f20b48212 (plain)
1
2
3
4
5
6
7
8
use azalea_buf::McBuf;
use azalea_protocol_macros::ServerboundLoginPacket;

#[derive(Clone, Debug, McBuf, ServerboundLoginPacket)]
pub struct ServerboundKeyPacket {
    pub key_bytes: Vec<u8>,
    pub encrypted_challenge: Vec<u8>,
}