aboutsummaryrefslogtreecommitdiff
path: root/webAO/viewport/constants/defaultChatMsg.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/viewport/constants/defaultChatMsg.ts')
-rw-r--r--webAO/viewport/constants/defaultChatMsg.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/webAO/viewport/constants/defaultChatMsg.ts b/webAO/viewport/constants/defaultChatMsg.ts
new file mode 100644
index 0000000..8a5db6b
--- /dev/null
+++ b/webAO/viewport/constants/defaultChatMsg.ts
@@ -0,0 +1,15 @@
+import { UPDATE_INTERVAL } from "../../client";
+import { ChatMsg } from "../interfaces/ChatMsg";
+
+export const defaultChatMsg = {
+ content: "",
+ objection: 0,
+ sound: "",
+ startpreanim: true,
+ startspeaking: false,
+ side: null,
+ color: 0,
+ snddelay: 0,
+ preanimdelay: 0,
+ speed: UPDATE_INTERVAL,
+ } as ChatMsg; \ No newline at end of file