Player12
An open source football management simulator
Loading...
Searching...
No Matches
season_agenda.h File Reference
#include <cstdint>
#include <vector>
#include "global/types.h"
#include "model/gamedate.h"

Go to the source code of this file.

Classes

struct  AgendaEvent
 One entry of the season agenda. More...
 

Namespaces

namespace  SeasonAgenda
 Everything dated in a club's season, from 1 July to 30 June: the season start (last season's review, new objectives and budgets), fixtures (league, cup, friendlies), transfer windows opening and deadline days, international and winter breaks, the youth intake cycle, monthly board reviews and contract reminders.
 

Enumerations

enum class  AgendaKind : std::uint8_t {
  SeasonStart , TransferWindowOpens , TransferDeadline , InternationalBreak ,
  WinterBreak , BoardReview , ContractReminder , YouthPreview ,
  YouthIntake , YouthDecisionDeadline , Fixture
}
 Kinds of dated events in a club's season (display order per day). More...
 

Functions

const char * SeasonAgenda::kindKey (AgendaKind kind)
 
GameDateValue SeasonAgenda::seasonStart (const GameDateValue &date)
 
std::vector< AgendaEvent > SeasonAgenda::build (std::uint16_t season_start_year, const std::vector< Match > &fixtures, bool board_reviews, LeagueID league)
 

Enumeration Type Documentation

◆ AgendaKind

enum class AgendaKind : std::uint8_t
strong

Kinds of dated events in a club's season (display order per day).

Enumerator
SeasonStart 
TransferWindowOpens 
TransferDeadline 
InternationalBreak 
WinterBreak 
BoardReview 
ContractReminder 
YouthPreview 
YouthIntake 
YouthDecisionDeadline 
Fixture