gamedig / rust-gamedig

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

protocols: Add more control over gathering additional information #180

Closed Douile closed 5 months ago

Douile commented 5 months ago

Adds GatherToggle which allows choosing the behaviour for how the query handles fetching additional information. The choices are:

A handy macro was also added to utils to dispatch additional queries based on a GatherToggle value, this could also be a method on GatherToggle but I thought that was less ergonomic.

cainthebest commented 5 months ago

Other than the enum mentioned, LGTM