15120
|
1 |
use log::*;
|
|
2 |
|
15804
|
3 |
use crate::core::{server::HwServer, types::ClientId};
|
|
4 |
use hedgewars_network_protocol::messages::HwProtocolMessage;
|
15120
|
5 |
|
15848
|
6 |
pub fn handle(
|
|
7 |
_server: &mut HwServer,
|
|
8 |
_client_id: ClientId,
|
|
9 |
_response: &mut super::Response,
|
|
10 |
message: HwProtocolMessage,
|
|
11 |
) {
|
15120
|
12 |
match message {
|
15848
|
13 |
HwProtocolMessage::CheckerReady => {
|
|
14 |
warn!("Unimplemented")
|
|
15 |
}
|
|
16 |
HwProtocolMessage::CheckedOk(info) => {
|
|
17 |
warn!("Unimplemented")
|
|
18 |
}
|
|
19 |
HwProtocolMessage::CheckedFail(message) => {
|
|
20 |
warn!("Unimplemented")
|
|
21 |
}
|
15120
|
22 |
_ => warn!("Unknown command"),
|
|
23 |
}
|
|
24 |
}
|