summaryrefslogtreecommitdiff
path: root/core/src/net/request/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/net/request/mod.rs')
-rw-r--r--core/src/net/request/mod.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/src/net/request/mod.rs b/core/src/net/request/mod.rs
index ed803ac..40114d9 100644
--- a/core/src/net/request/mod.rs
+++ b/core/src/net/request/mod.rs
@@ -6,7 +6,9 @@ use bzipper::{Deserialise, FixedString, Serialise};
#[derive(Debug, Deserialise, Serialise)]
pub enum Request {
- PlayerJoin { username: FixedString<0x10> },
+ Ping,
- PlayerQuit { token: SessionToken },
+ Join { username: FixedString<0x10> },
+
+ Quit { token: SessionToken },
}