equal
deleted
inserted
replaced
15 |
15 |
16 mod loggingin; |
16 mod loggingin; |
17 mod lobby; |
17 mod lobby; |
18 mod inroom; |
18 mod inroom; |
19 mod common; |
19 mod common; |
|
20 mod checker; |
20 |
21 |
21 pub fn handle(server: &mut HWServer, client_id: ClientId, message: HWProtocolMessage) { |
22 pub fn handle(server: &mut HWServer, client_id: ClientId, message: HWProtocolMessage) { |
22 match message { |
23 match message { |
23 HWProtocolMessage::Ping => |
24 HWProtocolMessage::Ping => |
24 server.react(client_id, vec![Pong.send_self().action()]), |
25 server.react(client_id, vec![Pong.send_self().action()]), |