diff options
author | metamuffin <metamuffin@disroot.org> | 2024-09-24 00:38:16 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-09-24 00:38:46 +0200 |
commit | e00492214438711c3af7fcad75505539d41e2285 (patch) | |
tree | faf8d44a5282846b537ed347b2f839607aa9df89 /server/protocol | |
parent | f1f0ae07172c24deb5815f8ee7926018db6d7dbc (diff) | |
download | hurrycurry-e00492214438711c3af7fcad75505539d41e2285.tar hurrycurry-e00492214438711c3af7fcad75505539d41e2285.tar.bz2 hurrycurry-e00492214438711c3af7fcad75505539d41e2285.tar.zst |
pinned orders
Diffstat (limited to 'server/protocol')
-rw-r--r-- | server/protocol/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/protocol/src/lib.rs b/server/protocol/src/lib.rs index b826edae..0203107d 100644 --- a/server/protocol/src/lib.rs +++ b/server/protocol/src/lib.rs @@ -118,6 +118,7 @@ pub enum PacketS { player: PlayerID, message: Option<Message>, timeout: Option<f32>, + pin: Option<bool>, }, /// For use in replay sessions only @@ -266,6 +267,7 @@ pub enum Menu { pub struct MessageTimeout { pub remaining: f32, pub initial: f32, + pub pinned: bool, } #[derive(Debug, Clone, Serialize, Deserialize, Encode, Decode, Default)] |