feat: add counter-strike 2 support

This commit is contained in:
CosminPerRam 2024-03-10 23:36:04 +02:00
parent b2e34b32f8
commit 82b7a5f169
4 changed files with 4 additions and 0 deletions

View file

@ -71,6 +71,7 @@ pub static GAMES: Map<&'static str, Game> = phf_map! {
check_app_id: true,
}.into_extra()),
"counterstrike" => game!("Counter-Strike", 27015, Protocol::Valve(Engine::new_gold_src(false))),
"cs2" => game!("Counter-Strike 2", 27015, Protocol::Valve(Engine::new(730))),
"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))),
"css" => game!("Counter-Strike: Source", 27015, Protocol::Valve(Engine::new(240))),