gameServer2/src/server/coretypes.rs
author unc0rr
Sat, 15 Sep 2018 20:42:02 +0200
branch0.9.24
changeset 13779 c384117f90eb
parent 13119 1e39b8749072
child 13419 81e0ed105f5d
permissions -rw-r--r--
Fix SetAmmoTexts not working in stats-only mode

#[derive(PartialEq, Eq, Clone, Debug)]
pub enum ServerVar {
    MOTDNew(String),
    MOTDOld(String),
    LatestProto(u32),
}

#[derive(PartialEq, Eq, Clone, Debug)]
pub enum GameCfg {

}

#[derive(PartialEq, Eq, Clone, Debug)]
pub struct TeamInfo {
    name: String,
    color: u8,
    grave: String,
    fort: String,
    voice_pack: String,
    flag: String,
    difficulty: u8,
    hedgehogs_number: u8,
    hedgehogs: [HedgehogInfo; 8],
}

#[derive(PartialEq, Eq, Clone, Debug)]
pub struct HedgehogInfo {
    name: String,
    hat: String,
}