zscript-doc/api/inter/WBPlayerStruct.md

44 lines
661 B
Markdown
Raw Permalink Normal View History

2018-12-29 16:05:19 -08:00
# WBPlayerStruct
Information for each individual player for a `StatusScreen`.
```
struct WBPlayerStruct
{
2019-08-14 03:32:51 -07:00
int SItems;
int SKills;
int SSecret;
int STime;
2018-12-29 16:05:19 -08:00
2019-08-14 03:32:51 -07:00
int FragCount;
int Frags[MAXPLAYERS];
2018-12-29 16:05:19 -08:00
}
```
2019-08-14 03:31:41 -07:00
### `SItems`
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
The number of items this player acquired.
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
### `SKills`
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
The number of monsters this player killed.
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
### `SSecret`
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
The number of secrets this player found.
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
### `STime`
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
The time this player finished the level at, in ticks. (This is the same for all
players.)
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
### `FragCount`
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
The total amount of frags this player scored against all players.
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
### `Frags`
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
The number of frags this player scored against each other player.
2018-12-29 16:05:19 -08:00
<!-- EOF -->