mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
feat(games): add base defense support
This commit is contained in:
parent
c71e783e1e
commit
94102d0d7b
4 changed files with 8 additions and 0 deletions
|
|
@ -52,6 +52,11 @@ pub static GAMES: Map<&'static str, Game> = phf_map! {
|
|||
"atlas" => game!("ATLAS", 57561, Protocol::Valve(Engine::new(834_910))),
|
||||
"avorion" => game!("Avorion", 27020, Protocol::Valve(Engine::new(445_220))),
|
||||
"barotrauma" => game!("Barotrauma", 27016, Protocol::Valve(Engine::new(602_960))),
|
||||
"basedefense" => game!("Base Defense", 27015, Protocol::Valve(Engine::new(632_730)), GatheringSettings {
|
||||
players: true,
|
||||
rules: false,
|
||||
check_app_id: true,
|
||||
}.into_extra()),
|
||||
"battalion1944" => game!("Battalion 1944", 7780, Protocol::Valve(Engine::new(489_940))),
|
||||
"brainbread2" => game!("BrainBread 2", 27015, Protocol::Valve(Engine::new(346_330))),
|
||||
"battlefield1942" => game!("Battlefield 1942", 23000, Protocol::Gamespy(GameSpyVersion::One)),
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ game_query_mod!(
|
|||
Engine::new(33930),
|
||||
2304
|
||||
);
|
||||
game_query_mod!(basedefense, "Base Defense", Engine::new(632_730), 27015);
|
||||
game_query_mod!(alienswarm, "Alien Swarm", Engine::new(630), 27015);
|
||||
game_query_mod!(aoc, "Age of Chivalry", Engine::new(17510), 27015);
|
||||
game_query_mod!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue