mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 14:26:04 +00:00
14 lines
463 B
Rust
14 lines
463 B
Rust
use crate::packets::game::clientbound_player_chat_packet::LastSeenMessagesUpdate;
|
|
use azalea_buf::McBuf;
|
|
use azalea_crypto::MessageSignature;
|
|
use packet_macros::ServerboundGamePacket;
|
|
|
|
#[derive(Clone, Debug, McBuf, ServerboundGamePacket)]
|
|
pub struct ServerboundChatPacket {
|
|
pub message: String,
|
|
pub timestamp: u64,
|
|
pub salt: u64,
|
|
pub signature: MessageSignature,
|
|
pub signed_preview: bool,
|
|
pub last_seen_messages: LastSeenMessagesUpdate,
|
|
}
|