rust/hedgewars-server/src/protocol/messages.rs
changeset 14791 8ecdb5c6bb2a
parent 14790 a1077e8d26f4
child 14792 0e64acbc3f8b
--- a/rust/hedgewars-server/src/protocol/messages.rs	Wed Apr 10 23:56:53 2019 +0300
+++ b/rust/hedgewars-server/src/protocol/messages.rs	Thu Apr 11 01:13:29 2019 +0300
@@ -141,6 +141,7 @@
     ForwardEngineMessage(Vec<String>),
     RoundFinished,
 
+    Info(Vec<String>),
     ServerMessage(String),
     ServerVars(Vec<String>),
     Notice(String),
@@ -389,6 +390,7 @@
             ForwardEngineMessage(em) => construct_message(&["EM"], &em),
             RoundFinished => msg!["ROUND_FINISHED"],
             ChatMsg { nick, msg } => msg!["CHAT", nick, msg],
+            Info(info) => construct_message(&["INFO"], &info),
             ServerMessage(msg) => msg!["SERVER_MESSAGE", msg],
             ServerVars(vars) => construct_message(&["SERVER_VARS"], &vars),
             Notice(msg) => msg!["NOTICE", msg],