aboutsummaryrefslogtreecommitdiff
path: root/webAO/client/sender/sendDE.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/client/sender/sendDE.ts')
-rw-r--r--webAO/client/sender/sendDE.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/webAO/client/sender/sendDE.ts b/webAO/client/sender/sendDE.ts
new file mode 100644
index 0000000..4d94d65
--- /dev/null
+++ b/webAO/client/sender/sendDE.ts
@@ -0,0 +1,9 @@
+import { client } from "../../client";
+
+/**
+ * Sends delete evidence command.
+ * @param {number} evidence id
+ */
+export const sendDE = (id: number) => {
+ client.sender.sendServer(`DE#${id}#%`);
+} \ No newline at end of file