use std::hash::Hash; use azalea_buf::AzBuf; use azalea_protocol_macros::ServerboundHandshakePacket; use crate::packets::ClientIntention; #[derive(AzBuf, Clone, Debug, Hash, PartialEq, ServerboundHandshakePacket)] pub struct ServerboundIntention { #[var] pub protocol_version: i32, pub hostname: String, pub port: u16, pub intention: ClientIntention, }