Initial valve setup and tf2 game setup

This commit is contained in:
CosminPerRam 2022-10-15 22:20:01 +03:00
parent e2be20ee53
commit 8098136d09
10 changed files with 234 additions and 12 deletions

14
examples/tf2.rs Normal file
View file

@ -0,0 +1,14 @@
use gamedig::TF2;
fn main() {
let response = TF2::query("5.15.202.107", None);
match response {
Err(_) => println!("fuck"),
Ok(r) => {
println!("{:?}", r);
()
}
}
}