1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 06:16:04 +00:00
azalea/azalea-protocol/src/packets/handshake/client_intention_packet.rs

13 lines
360 B
Rust
Executable file

use crate::packets::ConnectionProtocol;
use azalea_buf::McBuf;
use packet_macros::ClientboundHandshakePacket;
use std::hash::Hash;
#[derive(Hash, Clone, Debug, McBuf, ClientboundHandshakePacket)]
pub struct ClientIntentionPacket {
#[var]
pub protocol_version: u32,
pub hostname: String,
pub port: u16,
pub intention: ConnectionProtocol,
}