mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-18 09:35:50 +00:00
[Games] Add Warsow support.
This commit is contained in:
parent
58f7ff8aab
commit
0f9a10f2fb
6 changed files with 16 additions and 0 deletions
|
|
@ -57,6 +57,7 @@ use gamedig::{
|
|||
unturned,
|
||||
ut,
|
||||
vr,
|
||||
warsow,
|
||||
GDResult,
|
||||
};
|
||||
use std::env;
|
||||
|
|
@ -191,6 +192,7 @@ fn main() -> GDResult<()> {
|
|||
"_gamespy2" => println!("{:#?}", gamespy::two::query(address, None)),
|
||||
"haloce" => println!("{:#?}", haloce::query(ip, port)?),
|
||||
"jc2mp" => println!("{:#?}", jc2mp::query(ip, port)?),
|
||||
"warsow" => println!("{:#?}", warsow::query(ip, port)?),
|
||||
_ => panic!("Undefined game: {}", args[1]),
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue