summaryrefslogtreecommitdiff
path: root/src/to_clt/chat.rs
diff options
context:
space:
mode:
authorLizzy Fleckenstein <eliasfleckenstein@web.de>2023-02-06 19:56:53 +0100
committerLizzy Fleckenstein <eliasfleckenstein@web.de>2023-02-06 19:56:53 +0100
commitbe0db6761c344a53a13f569a934b33d01eb54147 (patch)
tree2668dbbab1b2ff9ebc12866d8af48e0bc8b771e5 /src/to_clt/chat.rs
downloadmt_ser-be0db6761c344a53a13f569a934b33d01eb54147.tar.xz
Initial commit
Diffstat (limited to 'src/to_clt/chat.rs')
-rw-r--r--src/to_clt/chat.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/to_clt/chat.rs b/src/to_clt/chat.rs
new file mode 100644
index 0000000..4d99853
--- /dev/null
+++ b/src/to_clt/chat.rs
@@ -0,0 +1,16 @@
+use super::*;
+
+#[mt_derive(to = "clt", repr = "u8")]
+pub enum ChatMsgType {
+ Raw = 0,
+ Normal,
+ Announce,
+ System,
+}
+
+#[mt_derive(to = "clt", repr = "u8")]
+pub enum PlayerListUpdateType {
+ Init = 0,
+ Add,
+ Remove,
+}