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
|
|
@ -60,10 +60,10 @@ impl Response {
|
|||
name: response.info.name,
|
||||
map: response.info.map,
|
||||
game: response.info.game,
|
||||
players: response.info.players,
|
||||
players: response.info.players_online,
|
||||
players_details: response.players.unwrap().iter().map(TheShipPlayer::new_from_valve_player).collect(),
|
||||
max_players: response.info.max_players,
|
||||
bots: response.info.bots,
|
||||
max_players: response.info.players_maximum,
|
||||
bots: response.info.players_bots,
|
||||
server_type: response.info.server_type,
|
||||
has_password: response.info.has_password,
|
||||
vac_secured: response.info.vac_secured,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue