aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/serverbound_keep_alive_packet.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-05-07 20:41:33 -0500
committermat <github@matdoes.dev>2022-05-07 20:41:33 -0500
commit98eee6d908a5651c55131b80dc3c153a6708052e (patch)
tree72c70b5af9e113f16fb54871be2bb34e94cac20a /azalea-protocol/src/packets/game/serverbound_keep_alive_packet.rs
parent49454781cf02c85e065cf1cf4de22701175f3f13 (diff)
downloadazalea-drasl-98eee6d908a5651c55131b80dc3c153a6708052e.tar.xz
add keepalive packets
Diffstat (limited to 'azalea-protocol/src/packets/game/serverbound_keep_alive_packet.rs')
-rw-r--r--azalea-protocol/src/packets/game/serverbound_keep_alive_packet.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/serverbound_keep_alive_packet.rs b/azalea-protocol/src/packets/game/serverbound_keep_alive_packet.rs
new file mode 100644
index 00000000..740b18e3
--- /dev/null
+++ b/azalea-protocol/src/packets/game/serverbound_keep_alive_packet.rs
@@ -0,0 +1,6 @@
+use packet_macros::GamePacket;
+
+#[derive(Clone, Debug, GamePacket)]
+pub struct ServerboundKeepAlivePacket {
+ pub id: u64,
+}