feat: add mordhau support

This commit is contained in:
CosminPerRam 2024-03-24 23:59:22 +02:00
parent 6e53ef0c22
commit f488658afc
4 changed files with 5 additions and 1 deletions

View file

@ -136,5 +136,6 @@ pub static GAMES: Map<&'static str, Game> = phf_map! {
"unrealtournament2004" => game!("Unreal Tournament 2004", 7778, Protocol::Unreal2),
"eco" => game!("Eco", 3000, Protocol::PROPRIETARY(ProprietaryProtocol::Eco)),
"zps" => game!("Zombie Panic: Source", 27015, Protocol::Valve(Engine::new(17_500))),
"mordhau" => game!("Mordhau", 27015, Protocol::Valve(Engine::new(629_760))),
"mindustry" => game!("Mindustry", crate::games::mindustry::DEFAULT_PORT, Protocol::PROPRIETARY(ProprietaryProtocol::Mindustry)),
};

View file

@ -157,3 +157,4 @@ game_query_mod!(
);
game_query_mod!(vrising, "V Rising", Engine::new(1_604_030), 27016);
game_query_mod!(zps, "Zombie Panic: Source", Engine::new(17_500), 27015);
game_query_mod!(mordhau, "Mordhau", Engine::new(629_760), 27015);