gameServer2/src/server/actions.rs
author unc0rr
Mon, 23 Jan 2017 23:43:29 +0300
changeset 12147 4d7d41be1993
parent 12146 78925eff02c2
child 12148 7e874846afe3
permissions -rw-r--r--
Start refactoring path from getting message from client to reacting to it

use protocol::messages::HWProtocolMessage;

pub enum Action {
    SendMe(String),
    RemoveClient,
    ByeClient(String),
    ReactProtocolMessage(HWProtocolMessage),
}