Skip to main content

steel_protocol/packets/login/
s_hello.rs

1use steel_macros::{ReadFrom, ServerPacket};
2use uuid::Uuid;
3
4#[derive(ReadFrom, ServerPacket, Clone, Debug)]
5pub struct SHello {
6    #[read(as = Prefixed(VarInt), bound = 16)]
7    pub name: String,
8    pub profile_id: Uuid,
9}