|
Player12
An open source football management simulator
|
Competitive (league or cup) totals of a player for one team in one season. Friendlies are not counted. More...
#include <season_history.h>
Public Member Functions | |
| float | averageRating () const |
Public Attributes | |
| uint16_t | season = 0 |
| PlayerID | player_id = 0 |
| TeamID | team_id = 0 |
| MatchType | competition_type = MatchType::LEAGUE |
| uint16_t | appearances = 0 |
| uint16_t | starts = 0 |
| uint16_t | minutes = 0 |
| uint16_t | goals = 0 |
| uint16_t | assists = 0 |
| uint16_t | yellow_cards = 0 |
| uint16_t | red_cards = 0 |
| float | rating_total = 0.0f |
| uint16_t | rated_matches = 0 |
Competitive (league or cup) totals of a player for one team in one season. Friendlies are not counted.
|
inline |
Average match rating; 0 when no rated match was played.
| uint16_t PlayerSeasonStats::appearances = 0 |
| uint16_t PlayerSeasonStats::assists = 0 |
| MatchType PlayerSeasonStats::competition_type = MatchType::LEAGUE |
| uint16_t PlayerSeasonStats::goals = 0 |
| uint16_t PlayerSeasonStats::minutes = 0 |
| PlayerID PlayerSeasonStats::player_id = 0 |
| uint16_t PlayerSeasonStats::rated_matches = 0 |
| float PlayerSeasonStats::rating_total = 0.0f |
| uint16_t PlayerSeasonStats::red_cards = 0 |
| uint16_t PlayerSeasonStats::season = 0 |
| uint16_t PlayerSeasonStats::starts = 0 |
| TeamID PlayerSeasonStats::team_id = 0 |
| uint16_t PlayerSeasonStats::yellow_cards = 0 |