diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-07 15:25:48 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-07 15:25:48 +0200 |
commit | 3ebb7582afc24992674cf6ebc0d6f314569d727f (patch) | |
tree | 093d355bb411b051e4e6ba3d80bb061f77b4939b /server/src/protocol.rs | |
parent | 120eb58c117f251fc548275a7440c2b2492ec6aa (diff) | |
download | hurrycurry-3ebb7582afc24992674cf6ebc0d6f314569d727f.tar hurrycurry-3ebb7582afc24992674cf6ebc0d6f314569d727f.tar.bz2 hurrycurry-3ebb7582afc24992674cf6ebc0d6f314569d727f.tar.zst |
transmit boosting state
Diffstat (limited to 'server/src/protocol.rs')
-rw-r--r-- | server/src/protocol.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/protocol.rs b/server/src/protocol.rs index 58182917..facfa5ab 100644 --- a/server/src/protocol.rs +++ b/server/src/protocol.rs @@ -47,6 +47,7 @@ pub enum PacketS { Position { pos: Vec2, rot: f32, + boosting: bool, }, Interact { pos: IVec2, @@ -98,6 +99,7 @@ pub enum PacketC { player: PlayerID, pos: Vec2, rot: f32, + boosting: bool, }, MoveItem { from: ItemLocation, |