Unturned support.

This commit is contained in:
CosminPerRam 2022-11-26 15:38:13 +02:00
parent 999998f309
commit 7b2cad22ec
6 changed files with 21 additions and 4 deletions

View file

@ -13,7 +13,7 @@ MSRV is `1.58.1` and the code is cross-platform.
To see the supported (or the planned to support) games/services/protocols, see [GAMES](GAMES.md), [SERVICES](SERVICES.md) and [PROTOCOLS](PROTOCOLS.md) respectively.
## Usage
Just pick a game/service/protocol, provide the ip and the port (can be optional) then query on it.
Just pick a game/service/protocol, provide the ip and the port (can be optional) (some use a special query port) then query on it.
Team Fortress 2 query example:
```rust
use gamedig::games::tf2;
@ -26,7 +26,7 @@ fn main() {
}
}
```
Response:
Response (note that some games have a different structure):
```json5
{
protocol: 17,