rust/hedgewars-server/src/server/handlers/checker.rs
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--
Move rust server into rust folder

use mio;
use log::*;

use crate::{
    server::{
        core::HWServer,
        coretypes::ClientId,
    },
    protocol::messages::{
        HWProtocolMessage
    },
};

pub fn handle(server: & mut HWServer, client_id: ClientId, message: HWProtocolMessage) {
    match message {
        _ => warn!("Unknown command"),
    }
}