equal
deleted
inserted
replaced
92 |
92 |
93 pub struct HWRoom { |
93 pub struct HWRoom { |
94 pub id: Token, |
94 pub id: Token, |
95 pub name: String, |
95 pub name: String, |
96 pub password: Option<String>, |
96 pub password: Option<String>, |
|
97 pub protocol_number: u32, |
97 pub ready_players_number: u8, |
98 pub ready_players_number: u8, |
98 } |
99 } |
99 |
100 |
100 impl HWRoom { |
101 impl HWRoom { |
101 pub fn new() -> HWRoom { |
102 pub fn new() -> HWRoom { |
102 HWRoom { |
103 HWRoom { |
103 id: Token(0), |
104 id: Token(0), |
104 name: String::new(), |
105 name: String::new(), |
105 password: None, |
106 password: None, |
|
107 protocol_number: 0, |
106 ready_players_number: 0, |
108 ready_players_number: 0, |
107 } |
109 } |
108 } |
110 } |
109 } |
111 } |