equal
deleted
inserted
replaced
3 pub struct HWClient { |
3 pub struct HWClient { |
4 pub id: ClientId, |
4 pub id: ClientId, |
5 pub room_id: Option<usize>, |
5 pub room_id: Option<usize>, |
6 pub nick: String, |
6 pub nick: String, |
7 pub protocol_number: u32, |
7 pub protocol_number: u32, |
|
8 pub is_admin: bool, |
8 pub is_master: bool, |
9 pub is_master: bool, |
9 pub is_ready: bool, |
10 pub is_ready: bool, |
10 pub is_in_game: bool, |
11 pub is_in_game: bool, |
11 pub teams_in_game: u8, |
12 pub teams_in_game: u8, |
12 pub team_indices: Vec<u8>, |
13 pub team_indices: Vec<u8>, |
19 HWClient { |
20 HWClient { |
20 id, |
21 id, |
21 room_id: None, |
22 room_id: None, |
22 nick: String::new(), |
23 nick: String::new(), |
23 protocol_number: 0, |
24 protocol_number: 0, |
|
25 is_admin: false, |
24 is_master: false, |
26 is_master: false, |
25 is_ready: false, |
27 is_ready: false, |
26 is_in_game: false, |
28 is_in_game: false, |
27 teams_in_game: 0, |
29 teams_in_game: 0, |
28 team_indices: Vec::new(), |
30 team_indices: Vec::new(), |