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

One entry of the season agenda. More...

#include <season_agenda.h>

Public Attributes

GameDateValue date
 
AgendaKind kind = AgendaKind::Fixture
 
int span_days = 1
 
TeamID home_id = 0
 
TeamID away_id = 0
 
MatchType match_type = MatchType::LEAGUE
 
LeagueID competition_id = 0
 
bool played = false
 
std::uint8_t home_score = 0
 
std::uint8_t away_score = 0
 
std::uint16_t kickoff = 0
 

Detailed Description

One entry of the season agenda.

Member Data Documentation

◆ away_id

TeamID AgendaEvent::away_id = 0

◆ away_score

std::uint8_t AgendaEvent::away_score = 0

◆ competition_id

LeagueID AgendaEvent::competition_id = 0

◆ date

GameDateValue AgendaEvent::date

◆ home_id

TeamID AgendaEvent::home_id = 0

◆ home_score

std::uint8_t AgendaEvent::home_score = 0

◆ kickoff

std::uint16_t AgendaEvent::kickoff = 0

Minutes after midnight.

◆ kind

AgendaKind AgendaEvent::kind = AgendaKind::Fixture

◆ match_type

MatchType AgendaEvent::match_type = MatchType::LEAGUE

◆ played

bool AgendaEvent::played = false

◆ span_days

int AgendaEvent::span_days = 1

Breaks: their length in days.


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