mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 15:27:28 +00:00
[Games] Add Hell Let Loose support.
This commit is contained in:
parent
06a2ceeda9
commit
b3ba7df6d9
6 changed files with 26 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ use gamedig::protocols::{gamespy, quake};
|
|||
use gamedig::protocols::minecraft::LegacyGroup;
|
||||
use gamedig::protocols::valve;
|
||||
use gamedig::protocols::valve::Engine;
|
||||
use gamedig::{aliens, aoc, arma2oa, ase, asrd, avorion, bat1944, bb2, bf1942, bm, bo, ccure, cosu, cs, cscz, csgo, css, dod, dods, doi, dst, ffow, gm, hl2dm, hldms, ins, insmic, inss, l4d, l4d2, mc, ohd, onset, pz, ror2, rust, sc, sdtd, ss, tf, tf2, tfc, ts, unturned, ut, vr, GDResult, cw, quake2, quake1, quake3a};
|
||||
use gamedig::{aliens, aoc, arma2oa, ase, asrd, avorion, bat1944, bb2, bf1942, bm, bo, ccure, cosu, cs, cscz, csgo, css, dod, dods, doi, dst, ffow, gm, hl2dm, hldms, ins, insmic, inss, l4d, l4d2, mc, ohd, onset, pz, ror2, rust, sc, sdtd, ss, tf, tf2, tfc, ts, unturned, ut, vr, GDResult, cw, quake2, quake1, quake3a, hll};
|
||||
use std::env;
|
||||
use std::net::IpAddr;
|
||||
|
||||
|
|
@ -129,6 +129,7 @@ fn main() -> GDResult<()> {
|
|||
"quake2" => println!("{:#?}", quake2::query(ip, port)?),
|
||||
"quake1" => println!("{:#?}", quake1::query(ip, port)?),
|
||||
"quake3a" => println!("{:#?}", quake3a::query(ip, port)?),
|
||||
"hll" => println!("{:#?}", hll::query(ip, port)?),
|
||||
_ => panic!("Undefined game: {}", args[1]),
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue