use azalea_buf::AzBuf; use azalea_protocol_macros::ServerboundGamePacket; use uuid::Uuid; #[derive(AzBuf, Clone, Debug, PartialEq, ServerboundGamePacket)] pub struct ServerboundChatSessionUpdate { pub chat_session: RemoteChatSessionData, } #[derive(AzBuf, Clone, Debug, Eq, PartialEq)] pub struct RemoteChatSessionData { pub session_id: Uuid, pub profile_public_key: ProfilePublicKeyData, } #[derive(AzBuf, Clone, Debug, Eq, PartialEq)] pub struct ProfilePublicKeyData { pub expires_at: u64, pub key: Vec, pub key_signature: Vec, }