Almost completed the valve protocol

This commit is contained in:
CosminPerRam 2022-10-16 02:42:17 +03:00
parent 8098136d09
commit c9eb725a51
6 changed files with 135 additions and 43 deletions

View file

@ -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)
}
}