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