blob: cac64a01e147c9e3f37b4e9d77ee2efc99543ffa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
use crate::packets::ConnectionProtocol;
use azalea_buf::McBuf;
use azalea_protocol_macros::ServerboundHandshakePacket;
use std::hash::Hash;
#[derive(Hash, Clone, Debug, McBuf, ServerboundHandshakePacket)]
pub struct ClientIntentionPacket {
#[var]
pub protocol_version: i32,
pub hostname: String,
pub port: u16,
pub intention: ConnectionProtocol,
}
|