diff options
Diffstat (limited to 'azalea-protocol/src/packets/handshaking')
| -rwxr-xr-x | azalea-protocol/src/packets/handshaking/client_intention_packet.rs | 15 | ||||
| -rwxr-xr-x | azalea-protocol/src/packets/handshaking/mod.rs | 11 |
2 files changed, 0 insertions, 26 deletions
diff --git a/azalea-protocol/src/packets/handshaking/client_intention_packet.rs b/azalea-protocol/src/packets/handshaking/client_intention_packet.rs deleted file mode 100755 index c0b694c8..00000000 --- a/azalea-protocol/src/packets/handshaking/client_intention_packet.rs +++ /dev/null @@ -1,15 +0,0 @@ -use std::hash::Hash; - -use azalea_buf::McBuf; -use azalea_protocol_macros::ServerboundHandshakePacket; - -use crate::packets::ClientIntention; - -#[derive(Hash, Clone, Debug, McBuf, ServerboundHandshakePacket)] -pub struct ClientIntentionPacket { - #[var] - pub protocol_version: i32, - pub hostname: String, - pub port: u16, - pub intention: ClientIntention, -} diff --git a/azalea-protocol/src/packets/handshaking/mod.rs b/azalea-protocol/src/packets/handshaking/mod.rs deleted file mode 100755 index f2e8810e..00000000 --- a/azalea-protocol/src/packets/handshaking/mod.rs +++ /dev/null @@ -1,11 +0,0 @@ -pub mod client_intention_packet; - -use azalea_protocol_macros::declare_state_packets; - -declare_state_packets!( - HandshakePacket, - Serverbound => { - 0x00: client_intention_packet::ClientIntentionPacket, - }, - Clientbound => {} -); |
