valence_protocol/packets/login/
login_hello_c2s.rs

1use uuid::Uuid;
2
3use crate::{Bounded, Decode, Encode, Packet, PacketState};
4
5#[derive(Clone, Debug, Encode, Decode, Packet)]
6#[packet(state = PacketState::Login)]
7pub struct LoginHelloC2s<'a> {
8    pub username: Bounded<&'a str, 16>,
9    pub profile_id: Option<Uuid>,
10}