diff options
| author | mat <github@matdoes.dev> | 2022-05-26 13:45:48 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-05-26 13:45:48 -0500 |
| commit | 1e145a82b80fb0402e8a64624454d9bfee77bc72 (patch) | |
| tree | ffb016cd6369bf0fbbf3545408f6278d47509a86 /azalea-protocol/src/packets/game/clientbound_server_data_packet.rs | |
| parent | 3fbbb61c30f0833dd1e07802419ee91ef6cad8e3 (diff) | |
| download | azalea-drasl-1e145a82b80fb0402e8a64624454d9bfee77bc72.tar.xz | |
1.19
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, +} |
