gameServer2/src/protocol/messages.rs
changeset 13486 1ee192f13456
parent 13461 8697b235f236
child 13500 5359ff75da3a
equal deleted inserted replaced
13485:c85b324c4c2d 13486:1ee192f13456
    16     ToggleServerRegisteredOnly,
    16     ToggleServerRegisteredOnly,
    17     SuperPower,
    17     SuperPower,
    18     Info(String),
    18     Info(String),
    19     // not entered state
    19     // not entered state
    20     Nick(String),
    20     Nick(String),
    21     Proto(u32),
    21     Proto(u16),
    22     Password(String, String),
    22     Password(String, String),
    23     Checker(u32, String, String),
    23     Checker(u32, String, String),
    24     // lobby
    24     // lobby
    25     List,
    25     List,
    26     Chat(String),
    26     Chat(String),
    74 pub enum HWServerMessage {
    74 pub enum HWServerMessage {
    75     Ping,
    75     Ping,
    76     Pong,
    76     Pong,
    77     Bye(String),
    77     Bye(String),
    78     Nick(String),
    78     Nick(String),
    79     Proto(u32),
    79     Proto(u16),
    80     LobbyLeft(String, String),
    80     LobbyLeft(String, String),
    81     LobbyJoined(Vec<String>),
    81     LobbyJoined(Vec<String>),
    82     ChatMsg {nick: String, msg: String},
    82     ChatMsg {nick: String, msg: String},
    83     ClientFlags(String, Vec<String>),
    83     ClientFlags(String, Vec<String>),
    84     Rooms(Vec<String>),
    84     Rooms(Vec<String>),