aboutsummaryrefslogtreecommitdiff
path: root/webAO/viewport/constants/defaultChatMsg.ts
diff options
context:
space:
mode:
authorCaleb <caleb.mabry.15@cnu.edu>2022-09-10 11:09:49 -0400
committerCaleb <caleb.mabry.15@cnu.edu>2022-09-10 11:09:49 -0400
commit108636666d474119892c4b3a2f3beadb767b006e (patch)
tree32bffa6a2cb8cc3aca3a6e3fd36ac6847561da53 /webAO/viewport/constants/defaultChatMsg.ts
parentabba7630e13f7e5269c14c2c43b66b03559ddfe3 (diff)
Structured viewport a little differently
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