diff options
author | Lizzy Fleckenstein <eliasfleckenstein@web.de> | 2023-02-10 15:53:15 +0100 |
---|---|---|
committer | Lizzy Fleckenstein <eliasfleckenstein@web.de> | 2023-02-10 15:53:15 +0100 |
commit | 6c875082474431a39596b1547b436a9bec1f5533 (patch) | |
tree | bafa770893e6a5a1daea8b57cc5a3f3574da3cb6 /src/to_clt/chat.rs | |
download | mt_net-6c875082474431a39596b1547b436a9bec1f5533.tar.xz |
Initial commit
Diffstat (limited to 'src/to_clt/chat.rs')
-rw-r--r-- | src/to_clt/chat.rs | 16 |
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, +} |