feat: add myth of empires support

This commit is contained in:
CosminPerRam 2024-04-07 23:09:16 +03:00
parent cca938674c
commit 9264d5fe4a
4 changed files with 4 additions and 0 deletions

View file

@ -137,6 +137,7 @@ 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))),
"moe" => game!("Myth Of Empires", 12888, Protocol::Valve(Engine::new(1_371_580))),
"mordhau" => game!("Mordhau", 27015, Protocol::Valve(Engine::new(629_760))),
"mindustry" => game!("Mindustry", crate::games::mindustry::DEFAULT_PORT, Protocol::PROPRIETARY(ProprietaryProtocol::Mindustry)),
};

View file

@ -158,4 +158,5 @@ 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!(moe, "Myth of Empires", Engine::new(1_371_580), 12888);
game_query_mod!(mordhau, "Mordhau", Engine::new(629_760), 27015);