use packet_macros::LoginPacket; use packet_macros::McBuf; #[derive(Clone, Debug, McBuf, LoginPacket)] pub struct ClientboundHelloPacket { // TODO: make this len thing work // #[len(20)] pub server_id: String, pub public_key: Vec, pub nonce: Vec, }