gamedig / rust-gamedig

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

feat(unreal2): Add password rule check #149

Closed CosminPerRam closed 8 months ago

CosminPerRam commented 8 months ago

Closes #146. I added the new field on the info struct, but I made it Option as to indicate if the GamePassword rule was found or not, I still have to query a few server as yet I haven't found one that sends it. I think those that do not send it are passwordless, so its possible to remove the Option. This is a draft as I still have to check said things.

CosminPerRam commented 8 months ago

I haven't encountered a server thats password protected and that doesnt report that rule. The same goes with one returning GamePassword with anything other than True, so it'll be a bool.