gameServer2/src/server/actions.rs
author unc0rr
Wed, 18 Jan 2017 22:54:02 +0300
changeset 12141 78925eff02c2
parent 12139 f3121d7dedec
child 12142 4d7d41be1993
permissions -rw-r--r--
Basic support for NICK message
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12138
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),
12139
f3121d7dedec - Handle errors
unc0rr
parents: 12138
diff changeset
     5
    RemoveClient,
f3121d7dedec - Handle errors
unc0rr
parents: 12138
diff changeset
     6
    ByeClient(String),
12141
78925eff02c2 Basic support for NICK message
unc0rr
parents: 12139
diff changeset
     7
    SetNick(String),
12138
e0bf51609062 Introduce actions, just like in the old server
unc0rr
parents:
diff changeset
     8
}