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

A draw the game has already made, laid out for its ceremony. More...

#include <draw_ceremony.h>

Public Types

enum class  Kind : std::uint8_t { DomesticCup , ContinentalKnockout , ContinentalLeaguePhase }
 

Public Attributes

Kind kind = Kind::DomesticCup
 
LeagueID competition_id = 0
 
std::uint8_t stage = 0
 
std::string competition_name
 
std::string round_name
 
GameDateValue drawn_on
 
TeamID focus_team = 0
 
std::vector< DrawReveal > reveals
 

Detailed Description

A draw the game has already made, laid out for its ceremony.

Built on demand from the calendar and the continental seasons; building one never changes the game. Names are in the current language.

Member Enumeration Documentation

◆ Kind

enum class DrawCeremony::Kind : std::uint8_t
strong
Enumerator
DomesticCup 
ContinentalKnockout 
ContinentalLeaguePhase 

Member Data Documentation

◆ competition_id

LeagueID DrawCeremony::competition_id = 0

◆ competition_name

std::string DrawCeremony::competition_name

◆ drawn_on

GameDateValue DrawCeremony::drawn_on

◆ focus_team

TeamID DrawCeremony::focus_team = 0

League phase: the club whose opponents are drawn; otherwise the club whose tie is highlighted (0: none).

◆ kind

Kind DrawCeremony::kind = Kind::DomesticCup

◆ reveals

std::vector<DrawReveal> DrawCeremony::reveals

In the order they are revealed.

◆ round_name

std::string DrawCeremony::round_name

◆ stage

std::uint8_t DrawCeremony::stage = 0

Cup round (1-based), or the continental Round as a number.


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