mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-18 09:35:50 +00:00
Games: Add Black Mesa support.
This commit is contained in:
parent
4a7eb400db
commit
328de37b2d
6 changed files with 22 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
use std::env;
|
||||
use gamedig::{aliens, arma2oa, ase, asrd, bat1944, cs, cscz, csgo, css, dod, dods, doi, GDResult, gm, hl2dm, hldms, ins, insmic, inss, l4d, l4d2, mc, ror2, rust, sc, sdtd, tf, tf2, tfc, ts, unturned};
|
||||
use gamedig::{aliens, arma2oa, ase, asrd, bat1944, bm, cs, cscz, csgo, css, dod, dods, doi, GDResult, gm, hl2dm, hldms, ins, insmic, inss, l4d, l4d2, mc, ror2, rust, sc, sdtd, tf, tf2, tfc, ts, unturned};
|
||||
use gamedig::protocols::minecraft::LegacyGroup;
|
||||
use gamedig::protocols::valve;
|
||||
use gamedig::protocols::valve::App;
|
||||
|
|
@ -71,6 +71,7 @@ fn main() -> GDResult<()> {
|
|||
"hldms" => println!("{:#?}", hldms::query(ip, port)?),
|
||||
"ror2" => println!("{:#?}", ror2::query(ip, port)?),
|
||||
"bat1944" => println!("{:#?}", bat1944::query(ip, port)?),
|
||||
"bm" => println!("{:#?}", bm::query(ip, port)?),
|
||||
_ => panic!("Undefined game: {}", args[1])
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue