zscript-doc/api/inter/WBPlayerStruct.md

44 lines
682 B
Markdown
Raw Normal View History

2018-12-29 16:05:19 -08:00
# WBPlayerStruct
Information for each individual player for a `StatusScreen`.
```
struct WBPlayerStruct
{
int SItems;
int SKills;
int SSecret;
int STime;
int FragCount;
int Frags[MAXPLAYERS];
}
```
- `SItems`
The number of items this player acquired.
- `SKills`
The number of monsters this player killed.
- `SSecret`
The number of secrets this player found.
- `STime`
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
- `FragCount`
The total amount of frags this player scored against all players.
- `Frags`
The number of frags this player scored against each other player.
<!-- EOF -->