Player12
An open source football management simulator
Loading...
Searching...
No Matches
CompetitionView::FixtureRow Struct Reference

One scheduled or played match. More...

#include <competition_view.h>

Public Attributes

GameDateValue date
 
TeamID home_id = 0
 
TeamID away_id = 0
 
std::string home_name
 
std::string away_name
 
MatchType type = MatchType::LEAGUE
 
bool played = false
 
uint8_t home_score = 0
 
uint8_t away_score = 0
 
int round = 0
 
uint16_t kickoff = 0
 

Detailed Description

One scheduled or played match.

Member Data Documentation

◆ away_id

TeamID CompetitionView::FixtureRow::away_id = 0

◆ away_name

std::string CompetitionView::FixtureRow::away_name

◆ away_score

uint8_t CompetitionView::FixtureRow::away_score = 0

◆ date

GameDateValue CompetitionView::FixtureRow::date

◆ home_id

TeamID CompetitionView::FixtureRow::home_id = 0

◆ home_name

std::string CompetitionView::FixtureRow::home_name

◆ home_score

uint8_t CompetitionView::FixtureRow::home_score = 0

◆ kickoff

uint16_t CompetitionView::FixtureRow::kickoff = 0

Minutes after midnight.

◆ played

bool CompetitionView::FixtureRow::played = false

◆ round

int CompetitionView::FixtureRow::round = 0

League round (1-based); 0 for non-league matches.

◆ type

MatchType CompetitionView::FixtureRow::type = MatchType::LEAGUE

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