diff options
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_server_data_packet.rs')
| -rw-r--r-- | azalea-protocol/src/packets/game/clientbound_server_data_packet.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_server_data_packet.rs b/azalea-protocol/src/packets/game/clientbound_server_data_packet.rs new file mode 100644 index 00000000..4c2d94e6 --- /dev/null +++ b/azalea-protocol/src/packets/game/clientbound_server_data_packet.rs @@ -0,0 +1,9 @@ +use azalea_chat::component::Component; +use packet_macros::{GamePacket, McBuf}; + +#[derive(Clone, Debug, McBuf, GamePacket)] +pub struct ClientboundServerDataPacket { + pub motd: Option<Component>, + pub icon_base64: Option<String>, + pub previews_chat: bool, +} |
