Player12
An open source football management simulator
Loading...
Searching...
No Matches
PlayerMatchLine Struct Reference

Per-player line of a finished match. More...

#include <match_report.h>

Public Attributes

PlayerID player_id = 0
 
TeamID team_id = 0
 
bool started = true
 
uint8_t minutes = 0
 
uint8_t goals = 0
 
uint8_t assists = 0
 
uint8_t yellow_cards = 0
 
uint8_t red_cards = 0
 
float rating = 0.0f
 

Detailed Description

Per-player line of a finished match.

Member Data Documentation

◆ assists

uint8_t PlayerMatchLine::assists = 0

◆ goals

uint8_t PlayerMatchLine::goals = 0

◆ minutes

uint8_t PlayerMatchLine::minutes = 0

◆ player_id

PlayerID PlayerMatchLine::player_id = 0

◆ rating

float PlayerMatchLine::rating = 0.0f

0 when the engine produced no rating.

◆ red_cards

uint8_t PlayerMatchLine::red_cards = 0

◆ started

bool PlayerMatchLine::started = true

◆ team_id

TeamID PlayerMatchLine::team_id = 0

◆ yellow_cards

uint8_t PlayerMatchLine::yellow_cards = 0

The documentation for this struct was generated from the following file: