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

#[derive(Hash, Clone, Debug, LoginPacket)]
pub struct ServerboundKeyPacket {
    pub shared_secret: Vec<u8>,
    pub nonce: Vec<u8>,
}