Player12
An open source football management simulator
Loading...
Searching...
No Matches
Competitions::CupDraw Struct Reference

A cup round that has been drawn, as the calendar holds it. More...

#include <competition.h>

Public Attributes

LeagueID cup_id = 0
 
uint8_t stage = 0
 
uint8_t total_rounds = 0
 
GameDateValue drawn_on
 
std::vector< Match > ties
 

Detailed Description

A cup round that has been drawn, as the calendar holds it.

Member Data Documentation

◆ cup_id

LeagueID Competitions::CupDraw::cup_id = 0

◆ drawn_on

GameDateValue Competitions::CupDraw::drawn_on

Day of the draw: the day the previous round was complete (the date of its last tie); round 1 is drawn with the season's fixtures on 1 July.

◆ stage

uint8_t Competitions::CupDraw::stage = 0

1-based round number.

◆ ties

std::vector<Match> Competitions::CupDraw::ties

By date, then home and away IDs.

◆ total_rounds

uint8_t Competitions::CupDraw::total_rounds = 0

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