mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-18 09:35:50 +00:00
Added Alien Swarm and Alien Swamr: Reactive Drop support
This commit is contained in:
parent
e8cbe7b9f5
commit
a5bdd05c24
7 changed files with 297 additions and 96 deletions
10
examples/asrd.rs
Normal file
10
examples/asrd.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
|
||||
use gamedig::games::asrd;
|
||||
|
||||
fn main() {
|
||||
let response = asrd::query("5.199.135.237", Some(30000));
|
||||
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