gameServer2/src/server/handlers/inroom.rs
author unc0rr
Sat, 16 Dec 2017 22:58:28 +0100
changeset 12853 a9d105dc5c95
parent 12852 bd35cb2302b3
child 13119 1e39b8749072
permissions -rw-r--r--
Improve this code a bit more

use mio;

use server::server::HWServer;
use server::actions::Action;
use server::actions::Action::*;
use protocol::messages::HWProtocolMessage;
use protocol::messages::HWServerMessage::*;

pub fn handle(server: &mut HWServer, token: usize, _poll: &mio::Poll, message: HWProtocolMessage) {
    match message {
        _ => warn!("Unimplemented!"),
    }
}