aboutsummaryrefslogtreecommitdiff
path: root/planetwars-matchrunner/src/match_log.rs
diff options
context:
space:
mode:
Diffstat (limited to 'planetwars-matchrunner/src/match_log.rs')
-rw-r--r--planetwars-matchrunner/src/match_log.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/planetwars-matchrunner/src/match_log.rs b/planetwars-matchrunner/src/match_log.rs
index 30751fd..087f2a9 100644
--- a/planetwars-matchrunner/src/match_log.rs
+++ b/planetwars-matchrunner/src/match_log.rs
@@ -13,6 +13,12 @@ pub enum MatchLogMessage {
GameState(State),
#[serde(rename = "stderr")]
StdErr(StdErrMessage),
+ #[serde(rename = "bad_command")]
+ BadCommand {
+ player_id: u32,
+ command: String,
+ error: String,
+ },
}
#[derive(Serialize, Deserialize, Debug)]