aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_transfer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/c_transfer.rs')
-rw-r--r--azalea-protocol/src/packets/game/c_transfer.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/c_transfer.rs b/azalea-protocol/src/packets/game/c_transfer.rs
new file mode 100644
index 00000000..ad7de333
--- /dev/null
+++ b/azalea-protocol/src/packets/game/c_transfer.rs
@@ -0,0 +1,9 @@
+use azalea_buf::AzBuf;
+use azalea_protocol_macros::ClientboundGamePacket;
+
+#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
+pub struct ClientboundTransfer {
+ pub host: String,
+ #[var]
+ pub port: u32,
+}