aboutsummaryrefslogtreecommitdiff
path: root/webAO/client/sender/sendCheck.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/client/sender/sendCheck.ts')
-rw-r--r--webAO/client/sender/sendCheck.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/webAO/client/sender/sendCheck.ts b/webAO/client/sender/sendCheck.ts
new file mode 100644
index 0000000..91b3a02
--- /dev/null
+++ b/webAO/client/sender/sendCheck.ts
@@ -0,0 +1,8 @@
+import { client } from "../../client";
+
+/**
+ * Sends a keepalive packet.
+ */
+export const sendCheck = () => {
+ client.sender.sendServer(`CH#${client.charID}#%`);
+}