mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
Valve: Rename players-related fields
This commit is contained in:
parent
637252ca18
commit
ff789fcb90
5 changed files with 23 additions and 21 deletions
|
|
@ -15,6 +15,8 @@ Crate:
|
|||
### Breaking:
|
||||
Protocols:
|
||||
- Valve: The rules field is now a `HashMap<String, String>` instead of a `Vec<ServerRule>` (where the `ServerRule` structure had a name and a value fields).
|
||||
- Valve: `ServerInfo`'s `players`, `max_players` and `bots` have been renamed to `players_online`, `players_maximum` and `players_bots` respectively.
|
||||
- Valve: `Response`'s `players`, `max_players` and `bots` have been renamed to `players_online`, `players_maximum` and `players_bots` respectively.
|
||||
|
||||
Errors:
|
||||
- Besides the `BadGame` error, now no other errors returns details about what happened (as it was quite pointless).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue