gameServer2/src/server/actions.rs
author unc0rr
Wed, 18 Jan 2017 22:54:02 +0300
changeset 12146 78925eff02c2
parent 12144 f3121d7dedec
child 12147 4d7d41be1993
permissions -rw-r--r--
Basic support for NICK message
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12143
e0bf51609062 Introduce actions, just like in the old server
unc0rr
parents:
diff changeset
     1
use protocol::messages::HWProtocolMessage;
e0bf51609062 Introduce actions, just like in the old server
unc0rr
parents:
diff changeset
     2
e0bf51609062 Introduce actions, just like in the old server
unc0rr
parents:
diff changeset
     3
pub enum Action {
e0bf51609062 Introduce actions, just like in the old server
unc0rr
parents:
diff changeset
     4
    SendMe(String),
12144
f3121d7dedec - Handle errors
unc0rr
parents: 12143
diff changeset
     5
    RemoveClient,
f3121d7dedec - Handle errors
unc0rr
parents: 12143
diff changeset
     6
    ByeClient(String),
12146
78925eff02c2 Basic support for NICK message
unc0rr
parents: 12144
diff changeset
     7
    SetNick(String),
12143
e0bf51609062 Introduce actions, just like in the old server
unc0rr
parents:
diff changeset
     8
}