zscript-doc/api/player/Team.md

28 lines
259 B
Markdown
Raw Permalink Normal View History

2018-12-29 16:05:19 -08:00
# Team
A team as defined in `TEAMINFO`.
```
struct Team
{
2019-08-14 03:32:51 -07:00
const Max;
const NoTeam;
2018-12-29 16:05:19 -08:00
2019-08-14 03:32:51 -07:00
string mName;
2018-12-29 16:05:19 -08:00
}
```
2019-08-14 03:31:41 -07:00
### `Max`
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
The maximum number of teams.
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
### `NoTeam`
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
A constant index for a player with no team.
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
### `mName`
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
The name of the team.
2018-12-29 16:05:19 -08:00
<!-- EOF -->