mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 15:27:28 +00:00
Games: Add Battalion 1944 support.
This commit is contained in:
parent
018935fd29
commit
9bcbfbc198
6 changed files with 24 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
use std::env;
|
||||
use gamedig::{aliens, arma2oa, ase, asrd, 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, 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;
|
||||
|
|
@ -70,6 +70,7 @@ fn main() -> GDResult<()> {
|
|||
"doi" => println!("{:#?}", doi::query(ip, port)?),
|
||||
"hldms" => println!("{:#?}", hldms::query(ip, port)?),
|
||||
"ror2" => println!("{:#?}", ror2::query(ip, port)?),
|
||||
"bat1944" => println!("{:?}", bat1944::query(ip, port)?),
|
||||
_ => panic!("Undefined game: {}", args[1])
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue