summaryrefslogtreecommitdiff
path: root/src/to_clt/media.rs
diff options
context:
space:
mode:
authorLizzy Fleckenstein <eliasfleckenstein@web.de>2023-02-10 13:50:58 +0100
committerLizzy Fleckenstein <eliasfleckenstein@web.de>2023-02-10 13:50:58 +0100
commit3ed5bfd5ac9f12f323bcdb36f8fb840855d02634 (patch)
tree82e2ed862a6de7c832a49ec37e0075dcb3bfdf78 /src/to_clt/media.rs
parent800bb04e808aa2881719857e5027d251afc047ac (diff)
downloadmt_ser-3ed5bfd5ac9f12f323bcdb36f8fb840855d02634.tar.xz
Implement UTF-8 decode and move packets to different crate
Diffstat (limited to 'src/to_clt/media.rs')
-rw-r--r--src/to_clt/media.rs33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/to_clt/media.rs b/src/to_clt/media.rs
deleted file mode 100644
index 0dd1f3d..0000000
--- a/src/to_clt/media.rs
+++ /dev/null
@@ -1,33 +0,0 @@
-use super::*;
-
-#[mt_derive(to = "clt")]
-pub struct MediaAnnounce {
- pub name: String,
- pub base64_sha1: String,
-}
-
-#[mt_derive(to = "clt")]
-pub struct MediaPayload {
- pub name: String,
- #[mt(len32)]
- pub data: Vec<u8>,
-}
-
-#[mt_derive(to = "clt")]
-pub struct TileAnim; // TODO
-
-#[mt_derive(to = "clt")]
-pub struct ItemDef; // TODO
-
-#[mt_derive(to = "clt")]
-pub struct NodeDef; // TODO
-
-#[mt_derive(to = "clt")]
-pub struct NodeMeta; // TODO
-
-#[mt_derive(to = "clt", repr = "u16")]
-pub enum SoundSrcType {
- Nowhere = 0,
- Pos,
- Obj,
-}