--- a/rust/hedgewars-server/src/handlers/checker.rs Tue May 10 02:59:11 2022 +0300
+++ b/rust/hedgewars-server/src/handlers/checker.rs Wed May 11 13:48:55 2022 +0200
@@ -3,8 +3,22 @@
use crate::core::{server::HwServer, types::ClientId};
use hedgewars_network_protocol::messages::HwProtocolMessage;
-pub fn handle(_server: &mut HwServer, _client_id: ClientId, message: HwProtocolMessage) {
+pub fn handle(
+ _server: &mut HwServer,
+ _client_id: ClientId,
+ _response: &mut super::Response,
+ message: HwProtocolMessage,
+) {
match message {
+ HwProtocolMessage::CheckerReady => {
+ warn!("Unimplemented")
+ }
+ HwProtocolMessage::CheckedOk(info) => {
+ warn!("Unimplemented")
+ }
+ HwProtocolMessage::CheckedFail(message) => {
+ warn!("Unimplemented")
+ }
_ => warn!("Unknown command"),
}
}