mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
[Service] Valve Master Server change filter storage from Vec<Filter> to a HashMap variant for better speed
This commit is contained in:
parent
780d42067e
commit
e159cfebbd
2 changed files with 25 additions and 33 deletions
|
|
@ -60,7 +60,6 @@ impl ValveMasterServer {
|
|||
last_address_port: u16,
|
||||
) -> GDResult<Vec<(Ipv4Addr, u16)>> {
|
||||
let payload = construct_payload(region, search_filters, last_address_ip, last_address_port);
|
||||
println!("{:02X?}", payload);
|
||||
self.socket.send(&payload)?;
|
||||
|
||||
let received_data = self.socket.receive(Some(1400))?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue