aboutsummaryrefslogtreecommitdiff
path: root/webAO/viewport/constants/defaultChatMsg.ts
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-09-10 17:19:52 +0200
committerGitHub <noreply@github.com>2022-09-10 17:19:52 +0200
commit657d2944135a80cda846b14ddbccd055c5b45896 (patch)
tree32bffa6a2cb8cc3aca3a6e3fd36ac6847561da53 /webAO/viewport/constants/defaultChatMsg.ts
parentabba7630e13f7e5269c14c2c43b66b03559ddfe3 (diff)
parent108636666d474119892c4b3a2f3beadb767b006e (diff)
Merge pull request #174 from caleb-mabry/viewport-movement
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