mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-18 09:35:50 +00:00
Almost completed the valve protocol
This commit is contained in:
parent
8098136d09
commit
c9eb725a51
6 changed files with 135 additions and 43 deletions
|
|
@ -1,5 +1,4 @@
|
|||
use crate::errors::GDError;
|
||||
use crate::protocol::Protocol;
|
||||
use crate::protocols::valve::{Response, ValveProtocol};
|
||||
|
||||
pub struct TF2;
|
||||
|
|
@ -9,6 +8,6 @@ impl TF2 {
|
|||
ValveProtocol::query(address, match port {
|
||||
None => 27015,
|
||||
Some(port) => port
|
||||
})
|
||||
}, false)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue