gameServer2/src/server/client.rs
changeset 13428 87a6cad20c90
parent 13424 81e0ed105f5d
child 13482 f748a72432f2
--- a/gameServer2/src/server/client.rs	Tue Jun 26 23:22:38 2018 +0300
+++ b/gameServer2/src/server/client.rs	Wed Jun 27 02:34:46 2018 +0300
@@ -7,7 +7,9 @@
     pub protocol_number: u32,
     pub is_master: bool,
     pub is_ready: bool,
+    pub is_in_game: bool,
     pub teams_in_game: u8,
+    pub team_indices: Vec<u8>,
     pub clan: Option<u8>,
     pub is_joined_mid_game: bool,
 }
@@ -21,7 +23,9 @@
             protocol_number: 0,
             is_master: false,
             is_ready: false,
+            is_in_game: false,
             teams_in_game: 0,
+            team_indices: Vec::new(),
             clan: None,
             is_joined_mid_game: false,
         }