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

@ -82,6 +82,7 @@ Beware of the `Notes` column, as it contains information about query port offset
| Call Of Duty: Black Ops 3 | CODBO3 | Valve | Query port: 27017. |
| Counter-Strike 2 | COUNTERSTRIKE2 | Valve | |
| Double Action: Boogaloo | DAB | Valve | |
| Mordhau | MORDHAU | Valve |
## Planned to add support:
_

View file

@ -2,7 +2,8 @@
Who knows what the future holds...
# 0.X.Y - DD/MM/YYYY
Nothing... yet!
Games:
- [Mordhau](https://store.steampowered.com/app/629760/MORDHAU/) support.
# 0.5.0 - 15/03/2024
### Changes:

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);