diff options
| author | metamuffin <metamuffin@disroot.org> | 2024-06-29 20:26:02 +0200 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2024-06-29 20:26:02 +0200 |
| commit | 04a4902d1054a2e8776107c99ef83496b6050b60 (patch) | |
| tree | 45d4bd14ec4a17e0accd060bf7211ee421418a34 /server/src/protocol.rs | |
| parent | 03c46a18d3a283ee737688c4c65bb5ef1d6ba1dc (diff) | |
| download | hurrycurry-04a4902d1054a2e8776107c99ef83496b6050b60.tar hurrycurry-04a4902d1054a2e8776107c99ef83496b6050b60.tar.bz2 hurrycurry-04a4902d1054a2e8776107c99ef83496b6050b60.tar.zst | |
server message for command errors
Diffstat (limited to 'server/src/protocol.rs')
| -rw-r--r-- | server/src/protocol.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/protocol.rs b/server/src/protocol.rs index 6ed34a65..39bc0887 100644 --- a/server/src/protocol.rs +++ b/server/src/protocol.rs @@ -134,6 +134,9 @@ pub enum PacketC { message: Option<Message>, persist: bool, }, + ServerMessage { + text: String, + }, Score { points: i64, demands_failed: usize, |