[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:
CosminPerRam 2023-04-22 20:03:30 +03:00 committed by GitHub
parent 786da81ea5
commit 348147b415
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 248 additions and 122 deletions

View file

@ -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]),
};