|
Player12
An open source football management simulator
|
One honour given in a league. More...
#include <awards.h>
Public Attributes | |
| std::uint16_t | season_year = 0 |
| std::uint8_t | month = 0 |
| LeagueID | league_id = 0 |
| AwardType | type = AwardType::PlayerOfMonth |
| PlayerID | player_id = 0 |
| TeamID | team_id = 0 |
| TeamID | opponent_id = 0 |
| std::string | name |
| float | value = 0.0f |
| std::uint16_t | count = 0 |
| std::uint8_t | slot = 0 |
| GameDateValue | date |
One honour given in a league.
Manager awards name the club (player_id 0). The player's name is kept because winners retire and leave the database. value/count depend on the award: average rating and appearances (player awards), goals and minutes (Golden Boot), clean sheets and appearances (Golden Glove), points above expectation and matches (manager awards), goal minute (Goal of the Month).
| std::uint16_t AwardRecord::count = 0 |
| GameDateValue AwardRecord::date |
Goal of the Month: match date.
| LeagueID AwardRecord::league_id = 0 |
| std::uint8_t AwardRecord::month = 0 |
1-12 for monthly awards, else 0.
| std::string AwardRecord::name |
| TeamID AwardRecord::opponent_id = 0 |
Goal of the Month: the opponent.
| PlayerID AwardRecord::player_id = 0 |
| std::uint16_t AwardRecord::season_year = 0 |
Calendar year the season started.
| std::uint8_t AwardRecord::slot = 0 |
Team of the Season position (0 = GK).
| TeamID AwardRecord::team_id = 0 |
| AwardType AwardRecord::type = AwardType::PlayerOfMonth |
| float AwardRecord::value = 0.0f |