gameServer2/src/server/server.rs
changeset 12152 03ccb89820f3
parent 12151 8d8fb85bc09c
child 12153 8591375271b8
--- a/gameServer2/src/server/server.rs	Fri Jan 27 23:03:31 2017 +0300
+++ b/gameServer2/src/server/server.rs	Sat Feb 04 19:52:38 2017 +0300
@@ -91,13 +91,19 @@
 
 
 pub struct HWRoom {
+    pub id: Token,
     pub name: String,
+    pub password: Option<String>,
+    pub ready_players_number: u8,
 }
 
 impl HWRoom {
     pub fn new() -> HWRoom {
         HWRoom {
+            id: Token(0),
             name: String::new(),
+            password: None,
+            ready_players_number: 0,
         }
     }
 }