aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_player_chat_header.rs
blob: d7e84cc500d35d1e46893720a8a58eb158c96211 (plain)
1
2
3
4
5
6
7
8
9
10
use azalea_buf::AzBuf;
use azalea_crypto::{MessageSignature, SignedMessageHeader};
use azalea_protocol_macros::ClientboundGamePacket;

#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
pub struct ClientboundPlayerChatHeader {
    pub header: SignedMessageHeader,
    pub header_signature: MessageSignature,
    pub body_digest: Vec<u8>,
}