author | unc0rr |
Mon, 10 Dec 2018 22:44:46 +0100 | |
changeset 14415 | 06672690d71b |
parent 14374 | gameServer2/src/server/handlers/checker.rs@e5db279308d7 |
child 14457 | 98ef2913ec73 |
permissions | -rw-r--r-- |
13798 | 1 |
use mio; |
13806 | 2 |
use log::*; |
13798 | 3 |
|
4 |
use crate::{ |
|
5 |
server::{ |
|
14374 | 6 |
core::HWServer, |
13798 | 7 |
coretypes::ClientId, |
8 |
}, |
|
9 |
protocol::messages::{ |
|
10 |
HWProtocolMessage |
|
11 |
}, |
|
12 |
}; |
|
13 |
||
14 |
pub fn handle(server: & mut HWServer, client_id: ClientId, message: HWProtocolMessage) { |
|
15 |
match message { |
|
16 |
_ => warn!("Unknown command"), |
|
17 |
} |
|
18 |
} |