chunkedge_protocol/packets/play/
system_chat_s2c.rs

1use std::borrow::Cow;
2
3use chunkedge_binary::{Decode, Encode, TextComponent};
4
5use crate::Packet;
6
7#[derive(Clone, Debug, Encode, Decode, Packet)]
8pub struct SystemChatS2c<'a> {
9    pub chat: Cow<'a, TextComponent>,
10    /// Whether the message is in the actionbar or the chat.
11    pub overlay: bool,
12}