chunkedge_protocol/packets/play/chat_session_update_c2s.rs
1use chunkedge_binary::{Bounded, Decode, Encode};
2use uuid::Uuid;
3
4use crate::Packet;
5
6#[derive(Copy, Clone, Debug, Encode, Decode, Packet)]
7pub struct ChatSessionUpdateC2s<'a> {
8 pub session_id: Uuid,
9 // Public key
10 pub expires_at: i64,
11 pub public_key_data: Bounded<&'a [u8], 512>,
12 pub key_signature: Bounded<&'a [u8], 4096>,
13}