|
Player12
An open source football management simulator
|
One structured event of a finished match (scorer, card...). More...
#include <match_report.h>
Public Attributes | |
| uint8_t | minute = 0 |
| uint8_t | added_minute = 0 |
| MatchEventKind | kind = MatchEventKind::GOAL |
| bool | home = true |
| PlayerID | player = 0 |
| PlayerID | assist = 0 |
One structured event of a finished match (scorer, card...).
home is the side of player; an OWN_GOAL therefore counts for the other side. minute is the match clock; when added_minute > 0 the event happened in added time ("45+2'" is minute 47 with added_minute 2).
| uint8_t MatchReportEvent::added_minute = 0 |
| PlayerID MatchReportEvent::assist = 0 |
0 when there was no (known) assist.
| bool MatchReportEvent::home = true |
| MatchEventKind MatchReportEvent::kind = MatchEventKind::GOAL |
| uint8_t MatchReportEvent::minute = 0 |
| PlayerID MatchReportEvent::player = 0 |
0 when the engine did not attribute it.