aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/login/serverbound_key_packet.rs
blob: 3750331f90f1304ccacb945c49cb984a1dd7d443 (plain)
1
2
3
4
5
6
7
8
9
10
use super::LoginPacket;
use crate::mc_buf::{ByteArray, Writable};
use packet_macros::LoginPacket;
use std::hash::Hash;

#[derive(Hash, Clone, Debug, LoginPacket)]
pub struct ServerboundKeyPacket {
    pub shared_secret: ByteArray,
    pub nonce: ByteArray,
}