mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
feat: Add Conan Exiles support.
This commit is contained in:
parent
1145a064a9
commit
f11a50a415
4 changed files with 20 additions and 2 deletions
|
|
@ -58,6 +58,11 @@ pub static GAMES: Map<&'static str, Game> = phf_map! {
|
|||
"ballisticoverkill" => game!("Ballistic Overkill", 27016, Protocol::Valve(Engine::new(296_300))),
|
||||
"codenamecure" => game!("Codename CURE", 27015, Protocol::Valve(Engine::new(355_180))),
|
||||
"colonysurvival" => game!("Colony Survival", 27004, Protocol::Valve(Engine::new(366_090))),
|
||||
"conanexiles" => game!("Conan Exiles", 27015, Protocol::Valve(Engine::new(440_900)), GatheringSettings {
|
||||
players: false,
|
||||
rules: true,
|
||||
check_app_id: true,
|
||||
}.into_extra()),
|
||||
"counterstrike" => game!("Counter-Strike", 27015, Protocol::Valve(Engine::new_gold_src(false))),
|
||||
"cscz" => game!("Counter Strike: Condition Zero", 27015, Protocol::Valve(Engine::new_gold_src(false))),
|
||||
"csgo" => game!("Counter-Strike: Global Offensive", 27015, Protocol::Valve(Engine::new(730))),
|
||||
|
|
|
|||
|
|
@ -34,6 +34,17 @@ game_query_mod!(
|
|||
Engine::new(366_090),
|
||||
27004
|
||||
);
|
||||
game_query_mod!(
|
||||
conanexiles,
|
||||
"Conan Exiles",
|
||||
Engine::new(440_900),
|
||||
27015,
|
||||
GatheringSettings {
|
||||
players: false,
|
||||
rules: true,
|
||||
check_app_id: true,
|
||||
}
|
||||
);
|
||||
game_query_mod!(
|
||||
counterstrike,
|
||||
"Counter-Strike",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue