mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 15:27:28 +00:00
Added support for Counter-Strike: Source
This commit is contained in:
parent
b5141e8196
commit
aefd8cc43c
5 changed files with 98 additions and 1 deletions
10
examples/css.rs
Normal file
10
examples/css.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
|
||||
use gamedig::games::css;
|
||||
|
||||
fn main() {
|
||||
let response = css::query("104.128.58.206", 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