azalea_protocol/packets/game/
s_chat_session_update.rs

1use azalea_buf::AzBuf;
2use azalea_protocol_macros::ServerboundGamePacket;
3use uuid::Uuid;
4
5#[derive(AzBuf, Clone, Debug, PartialEq, ServerboundGamePacket)]
6pub struct ServerboundChatSessionUpdate {
7    pub chat_session: RemoteChatSessionData,
8}
9
10#[derive(AzBuf, Clone, Debug, Eq, PartialEq)]
11pub struct RemoteChatSessionData {
12    pub session_id: Uuid,
13    pub profile_public_key: ProfilePublicKeyData,
14}
15
16#[derive(AzBuf, Clone, Debug, Eq, PartialEq)]
17pub struct ProfilePublicKeyData {
18    pub expires_at: u64,
19    pub key: Vec<u8>,
20    pub key_signature: Vec<u8>,
21}