gamedig / rust-gamedig

Game Server Query Library.
https://crates.io/crates/gamedig
MIT License
38 stars 11 forks source link

[Games] Add timeout settings for proprietary games #67

Closed Douile closed 1 year ago

Douile commented 1 year ago

Adding query functions with timeout settings to proprietary games allows the generic query with timeout function to pass the timeout settings through.

This does change how the pre-existing FFOW query_with_timeout function worked: it accepted a non-optional timeout settings, this was changed to optional to be consistent with other query_with_timeout functions and to move deciding what to do if the user doesn't provide timeout settings to a more central location.

Closes #64