aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_server_data.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/c_server_data.rs')
-rwxr-xr-xazalea-protocol/src/packets/game/c_server_data.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/c_server_data.rs b/azalea-protocol/src/packets/game/c_server_data.rs
new file mode 100755
index 00000000..22116685
--- /dev/null
+++ b/azalea-protocol/src/packets/game/c_server_data.rs
@@ -0,0 +1,9 @@
+use azalea_buf::AzBuf;
+use azalea_chat::FormattedText;
+use azalea_protocol_macros::ClientboundGamePacket;
+
+#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
+pub struct ClientboundServerData {
+ pub motd: FormattedText,
+ pub icon_bytes: Option<Vec<u8>>,
+}