aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_player_chat_header.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/c_player_chat_header.rs')
-rwxr-xr-xazalea-protocol/src/packets/game/c_player_chat_header.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/c_player_chat_header.rs b/azalea-protocol/src/packets/game/c_player_chat_header.rs
new file mode 100755
index 00000000..d7e84cc5
--- /dev/null
+++ b/azalea-protocol/src/packets/game/c_player_chat_header.rs
@@ -0,0 +1,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>,
+}