mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-18 09:35:50 +00:00
[Game] Add Frontlines: Fuel of War support. (#31)
* [Game] Add initial files * [Game] Initial support * [Game] Add response struct * [Game] Add query_with_timeout * [Game] FFOW: Added some doc comments
This commit is contained in:
parent
786da81ea5
commit
348147b415
7 changed files with 248 additions and 122 deletions
|
|
@ -24,6 +24,7 @@ use gamedig::{
|
|||
dods,
|
||||
doi,
|
||||
dst,
|
||||
ffow,
|
||||
gm,
|
||||
hl2dm,
|
||||
hldms,
|
||||
|
|
@ -167,6 +168,7 @@ fn main() -> GDResult<()> {
|
|||
"ss" => println!("{:#?}", ss::query(ip, port)),
|
||||
"_gamespy3" => println!("{:#?}", gamespy::three::query(ip, port.unwrap(), None)),
|
||||
"_gamespy3_vars" => println!("{:#?}", gamespy::three::query_vars(ip, port.unwrap(), None)),
|
||||
"ffow" => println!("{:#?}", ffow::query(ip, port)),
|
||||
_ => panic!("Undefined game: {}", args[1]),
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue