From bf1a5cef4b7fa87cdd382c565044731c1ccef9e3 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 17 Sep 2024 14:58:35 +0200 Subject: add hint packet for tutorial --- server/protocol/src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'server/protocol/src/lib.rs') 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, + message: Option, + }, Score(Score), SetIngame { state: bool, -- cgit v1.2.3-70-g09d2