--- a/rust/hedgewars-server/src/handlers.rs Wed Jun 23 15:32:48 2021 -0400
+++ b/rust/hedgewars-server/src/handlers.rs Wed Jun 23 23:41:51 2021 +0200
@@ -10,19 +10,24 @@
inanteroom::LoginResult,
strings::*,
};
+use crate::handlers::actions::ToPendingMessage;
use crate::{
core::{
anteroom::HwAnteroom,
room::RoomSave,
server::HwServer,
- types::{ClientId, GameCfg, Replay, RoomId, TeamInfo},
+ types::{ClientId, Replay, RoomId},
},
- protocol::messages::{
+ utils,
+};
+use hedgewars_network_protocol::{
+ messages::{
global_chat, server_chat, HwProtocolMessage, HwProtocolMessage::EngineMessage,
HwServerMessage, HwServerMessage::*,
},
- utils,
+ types::{GameCfg, TeamInfo},
};
+
use base64::encode;
use log::*;
use rand::{thread_rng, RngCore};