From c0ca03204f1c507d15ccb2699b69d08bd160139f Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 21 Jul 2022 20:04:33 -0500 Subject: 1.19.1-rc2 --- .../src/packets/game/serverbound_chat_packet.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 azalea-protocol/src/packets/game/serverbound_chat_packet.rs (limited to 'azalea-protocol/src/packets/game/serverbound_chat_packet.rs') diff --git a/azalea-protocol/src/packets/game/serverbound_chat_packet.rs b/azalea-protocol/src/packets/game/serverbound_chat_packet.rs new file mode 100644 index 00000000..f0c99b14 --- /dev/null +++ b/azalea-protocol/src/packets/game/serverbound_chat_packet.rs @@ -0,0 +1,14 @@ +use crate::packets::game::clientbound_player_chat_packet::LastSeenMessagesUpdate; +use azalea_buf::McBuf; +use azalea_crypto::MessageSignature; +use packet_macros::GamePacket; + +#[derive(Clone, Debug, McBuf, GamePacket)] +pub struct ServerboundChatPacket { + pub message: String, + pub timestamp: u64, + pub salt: u64, + pub signature: MessageSignature, + pub signed_preview: bool, + pub last_seen_messages: LastSeenMessagesUpdate, +} -- cgit v1.2.3