aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_login_packet.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_login_packet.rs')
-rwxr-xr-xazalea-protocol/src/packets/game/clientbound_login_packet.rs27
1 files changed, 0 insertions, 27 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_login_packet.rs b/azalea-protocol/src/packets/game/clientbound_login_packet.rs
deleted file mode 100755
index 234439d5..00000000
--- a/azalea-protocol/src/packets/game/clientbound_login_packet.rs
+++ /dev/null
@@ -1,27 +0,0 @@
-use azalea_buf::McBuf;
-use azalea_core::resource_location::ResourceLocation;
-use azalea_protocol_macros::ClientboundGamePacket;
-
-use crate::packets::common::CommonPlayerSpawnInfo;
-
-/// The first packet sent by the server to the client after login.
-///
-/// This packet contains information about the state of the player, the
-/// world, and the registry.
-#[derive(Clone, Debug, McBuf, ClientboundGamePacket)]
-pub struct ClientboundLoginPacket {
- pub player_id: u32,
- pub hardcore: bool,
- pub levels: Vec<ResourceLocation>,
- #[var]
- pub max_players: i32,
- #[var]
- pub chunk_radius: u32,
- #[var]
- pub simulation_distance: u32,
- pub reduced_debug_info: bool,
- pub show_death_screen: bool,
- pub do_limited_crafting: bool,
- pub common: CommonPlayerSpawnInfo,
- pub enforces_secure_chat: bool,
-}