rust/hedgewars-server/src/core/client.rs
changeset 15989 fb389df02e3e
parent 15938 ce47259d5c86
equal deleted inserted replaced
15988:0b2e0a7d0431 15989:fb389df02e3e
    28     pub clan: Option<u8>,
    28     pub clan: Option<u8>,
    29 }
    29 }
    30 
    30 
    31 impl HwClient {
    31 impl HwClient {
    32     pub fn new(id: ClientId, protocol_number: u16, nick: String) -> HwClient {
    32     pub fn new(id: ClientId, protocol_number: u16, nick: String) -> HwClient {
    33         todo!("add quiet flag");
    33         //todo!("add quiet flag");
    34         HwClient {
    34         HwClient {
    35             id,
    35             id,
    36             nick,
    36             nick,
    37             protocol_number,
    37             protocol_number,
    38             room_id: None,
    38             room_id: None,