chunkedge_protocol/packets/login/
hello_c2s.rs

1use chunkedge_binary::{Bounded, Decode, Encode};
2use uuid::Uuid;
3
4use crate::{Packet, PacketState};
5
6#[derive(Clone, Debug, Encode, Decode, Packet)]
7#[packet(state = PacketState::Login)]
8/// Sent by the client to the server to initiate the login process.
9pub struct HelloC2s<'a> {
10    pub username: Bounded<&'a str, 16>,
11    pub profile_id: Uuid,
12}