Better packet structure (#3)

* [packet_structure] Initial implementation

* [packet_structure] Fixed on tf2

* [packet_structure] Fixed info request
This commit is contained in:
CosminPerRam 2022-10-22 01:22:09 +03:00 committed by GitHub
parent 4e9458f102
commit e621a9aedd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 148 additions and 74 deletions

View file

@ -2,7 +2,7 @@
use gamedig::games::csgo;
fn main() {
let response = csgo::query("51.38.142.109", None);
let response = csgo::query("216.52.148.47", None);
match response {
Err(error) => println!("Couldn't query, error: {error}"),
Ok(r) => println!("{:?}", r)