diff options
author | metamuffin <metamuffin@disroot.org> | 2024-09-17 14:58:35 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-09-17 16:57:34 +0200 |
commit | bf1a5cef4b7fa87cdd382c565044731c1ccef9e3 (patch) | |
tree | 412c704845fd0e9cf643572608de6e8170d9cbc8 /server/protocol/src | |
parent | f1ffe3f2e0e22dac40c88c8f13f1ffa8b2955743 (diff) | |
download | hurrycurry-bf1a5cef4b7fa87cdd382c565044731c1ccef9e3.tar hurrycurry-bf1a5cef4b7fa87cdd382c565044731c1ccef9e3.tar.bz2 hurrycurry-bf1a5cef4b7fa87cdd382c565044731c1ccef9e3.tar.zst |
add hint packet for tutorial
Diffstat (limited to 'server/protocol/src')
-rw-r--r-- | server/protocol/src/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/protocol/src/lib.rs b/server/protocol/src/lib.rs index 33873a33..54a7f868 100644 --- a/server/protocol/src/lib.rs +++ b/server/protocol/src/lib.rs @@ -209,6 +209,11 @@ pub enum PacketC { ServerMessage { text: String, }, + ServerHint { + #[bincode(with_serde)] + position: Option<IVec2>, + message: Option<Message>, + }, Score(Score), SetIngame { state: bool, |