feat: add arma reforger support (#202)

This commit is contained in:
CosminPerRam 2024-04-28 23:47:17 +03:00 committed by GitHub
parent ddd95be413
commit 829ab5b7f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 18 additions and 0 deletions

View file

@ -12,6 +12,7 @@ Games:
- [Ark: Survival Ascended](https://store.steampowered.com/app/2399830/ARK_Survival_Ascended/) support, note: not yet in
the games definitions.
- [Aliens vs. Predator 2010](https://store.steampowered.com/app/10680/Aliens_vs_Predator/) support.
- [Arma Reforger](https://store.steampowered.com/app/1874880/Arma_Reforger/) support.
Protocols:

View file

@ -52,6 +52,11 @@ pub static GAMES: Map<&'static str, Game> = phf_map! {
"a2oa" => game!("ARMA 2: Operation Arrowhead", 2304, Protocol::Valve(Engine::new(33930))),
"ase" => game!("ARK: Survival Evolved", 27015, Protocol::Valve(Engine::new(346_110))),
"asrd" => game!("Alien Swarm: Reactive Drop", 2304, Protocol::Valve(Engine::new(563_560))),
"armareforger" => game!("Arma Reforger", 17777, Protocol::Valve(Engine::new(1_874_880)), GatheringSettings {
players: GatherToggle::Enforce,
rules: GatherToggle::Enforce,
check_app_id: false,
}.into_extra()),
"atlas" => game!("ATLAS", 57561, Protocol::Valve(Engine::new(834_910))),
"avorion" => game!("Avorion", 27020, Protocol::Valve(Engine::new(445_220))),
"avp2010" => game!("Aliens vs. Predator 2010", 27015, Protocol::Valve(Engine::new(10_680))),

View file

@ -37,6 +37,17 @@ game_query_mod!(
Engine::new(296_300),
27016
);
game_query_mod!(
armareforger,
"Arma Reforger",
Engine::new(0),
17777,
GatheringSettings {
players: GatherToggle::Enforce,
rules: GatherToggle::Enforce,
check_app_id: false,
}
);
game_query_mod!(
avp2010,
"Aliens vs. Predator 2010",