aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/login/s_key.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/login/s_key.rs')
-rwxr-xr-xazalea-protocol/src/packets/login/s_key.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/login/s_key.rs b/azalea-protocol/src/packets/login/s_key.rs
new file mode 100755
index 00000000..1b96d445
--- /dev/null
+++ b/azalea-protocol/src/packets/login/s_key.rs
@@ -0,0 +1,8 @@
+use azalea_buf::AzBuf;
+use azalea_protocol_macros::ServerboundLoginPacket;
+
+#[derive(Clone, Debug, AzBuf, ServerboundLoginPacket)]
+pub struct ServerboundKey {
+ pub key_bytes: Vec<u8>,
+ pub encrypted_challenge: Vec<u8>,
+}