mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
Better packet structure (#3)
* [packet_structure] Initial implementation * [packet_structure] Fixed on tf2 * [packet_structure] Fixed info request
This commit is contained in:
parent
4e9458f102
commit
e621a9aedd
4 changed files with 148 additions and 74 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue