rust-gamedig/crates/lib/src/games
Tom 89ed19f089
feat(protocols): Add more control over gathering additional information (#180)
* protocols: Add more control over gathering additional information

Adds GatherToggle which allows choosing the behaviour for how the query
handles fetching additional information. The choices are:
- DontGather - Don't attempt to fetch information
- AttemptGather - Try to fetch the information but ignore errors
- Required - Try to fetch information and fail if it errors

A handy macro was also added to utils to dispatch additional queries
based on a GatherToggle value.

* Add/Update badge

* protocols: Improve GatherToggle enum names

Co-Authored-By: Cain <75994858+cainthebest@users.noreply.github.com>
Co-Authored-By: CosminPerRam <cosmin.p@live.com>

* Add/Update badge

---------

Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Cain <75994858+cainthebest@users.noreply.github.com>
Co-authored-by: CosminPerRam <cosmin.p@live.com>
2024-01-22 13:36:17 +02:00
..
ffow chore: extract ffow into multiple files (#173) 2023-12-19 22:04:45 +01:00
jc2m chore: extract jc2m into multiple files (#171) 2023-12-15 20:19:15 +01:00
mindustry Add support for Mindustry (#178) 2024-01-17 13:53:40 +00:00
minecraft pref: apply const to applicable functions 2023-12-11 03:49:18 +02:00
savage2 fix: also add Eq to savage2::Response 2023-12-11 03:47:31 +02:00
theship chore: extract the ship into multiple files (#172) 2023-12-19 20:58:15 +01:00
battalion1944.rs Merge branch 'main' into feat/cli 2023-11-08 20:42:07 +00:00
definitions.rs feat(protocols): Add more control over gathering additional information (#180) 2024-01-22 13:36:17 +02:00
gamespy.rs refator: copy cli into mono 2023-10-16 23:20:47 +01:00
mod.rs Add support for Mindustry (#178) 2024-01-17 13:53:40 +00:00
quake.rs Merge branch 'main' into feat/cli 2023-11-08 20:42:07 +00:00
query.rs Add support for Mindustry (#178) 2024-01-17 13:53:40 +00:00
types.rs chore: Tidy up some out of place types (#160) 2024-01-02 00:17:43 +02:00
unreal2.rs Merge branch 'main' into feat/cli 2023-11-08 20:42:07 +00:00
valve.rs feat(protocols): Add more control over gathering additional information (#180) 2024-01-22 13:36:17 +02:00