Player12
An open source football management simulator
Loading...
Searching...
No Matches
WorldSimulation Class Reference

Everything that happens between matches. More...

#include <world_simulation.h>

Classes

struct  FocusStats
 

Public Member Functions

 WorldSimulation (std::shared_ptr< GameData > gamedata)
 
void onDayAdvanced (const GameDateValue &date, TeamID managed_team_id)
 
void onMatchPlayed (const Match &match, MatchReport &report, TeamID managed_team_id)
 
void onSeasonEnd (const GameDateValue &date, TeamID managed_team_id)
 
void onSeasonStart (const GameDateValue &date, TeamID managed_team_id)
 
void onManagedTeamSelected (const GameDateValue &date, TeamID team_id, const std::vector< UpcomingFixture > &schedule)
 
void onManagerLeft ()
 
bool isTransferEmbargoed (TeamID team_id) const
 
void load (const std::shared_ptr< DatabaseConnection > &db_conn)
 
void save (const std::shared_ptr< DatabaseConnection > &db_conn) const
 
void onSaved ()
 
bool applyMatchConsequences (const GameDateValue &date, const PlayerMatchConsequence &consequence, TeamID managed_team_id)
 
void setStandingsProvider (std::function< std::vector< TeamID >(LeagueID)> provider)
 
void setFixtureOutlookProvider (std::function< void(const GameDateValue &, TrainingSystem::FixtureOutlook &)> provider)
 
void setInjuryRiskProvider (std::function< double(PlayerID, const GameDateValue &)> provider)
 
void setLoanCheck (std::function< bool(PlayerID)> is_on_loan)
 
void setSeasonHistoryProvider (std::function< const std::vector< SeasonHistoryEntry > &()> provider)
 
void setFreeAgentHold (std::function< bool(PlayerID)> is_held)
 
void setLineupGapFiller (std::function< void(Team &, const Player &)> filler)
 
void onTransferBid (const GameDateValue &date, PlayerID player_id, TeamID bidder_id, std::uint32_t amount, TeamID managed_team_id)
 
void onTransferCompleted (const GameDateValue &date, PlayerID player_id, TeamID from_team_id, TeamID to_team_id, std::uint32_t fee, TeamID managed_team_id)
 
const Inbox & getInbox () const
 
Inbox & getInbox ()
 
const BoardState & getBoardState () const
 
void adjustBoardConfidence (float delta)
 
std::int64_t getSeasonPrizeMoney () const
 
ScoutingSystem & getScouting ()
 
const ScoutingSystem & getScouting () const
 
InteractionSystem & getInteractions ()
 
const InteractionSystem & getInteractions () const
 
StoryEngine & getStories ()
 
const StoryEngine & getStories () const
 
YouthAcademy & getYouth ()
 
const YouthAcademy & getYouth () const
 
SquadStatusBook & getSquadStatuses ()
 
const SquadStatusBook & getSquadStatuses () const
 
AwardSystem & getAwards ()
 
const AwardSystem & getAwards () const
 
RecordBook & getRecords ()
 
const RecordBook & getRecords () const
 
FacilityProjects & getFacilityProjects ()
 
const FacilityProjects & getFacilityProjects () const
 
PreseasonPlanner & getPreseason ()
 
const PreseasonPlanner & getPreseason () const
 
MentoringSystem & getMentoring ()
 
const MentoringSystem & getMentoring () const
 
HolidayPreferences & getHolidayPreferences ()
 
const HolidayPreferences & getHolidayPreferences () const
 
SquadRole squadRole (PlayerID player_id) const
 
std::uint32_t lastHomeAttendance (TeamID team_id) const
 
int leaguePosition (TeamID team_id) const
 
float lineupStrength (TeamID team_id) const
 

Private Member Functions

void processDaily (const GameDateValue &date, std::int32_t ordinal, TeamID managed_team_id)
 
void processWeekly (const GameDateValue &date, TeamID managed_team_id)
 
void reviewCash (const GameDateValue &date, TeamID managed_team_id, bool monthly)
 
void rescueByOwner (const GameDateValue &date, Team &team) const
 
std::unordered_map< TeamID, double > parachutes (const std::unordered_map< LeagueID, LeagueEconomy > &economies, std::vector< TeamID > *relegated_now=nullptr) const
 
void applyRelegationWageCuts (const std::vector< TeamID > &relegated, TeamID managed_team_id)
 
void clearFreeAgentPool (const GameDateValue &date)
 
void postMedicalDigest (const GameDateValue &date, TeamID managed_team_id)
 
void postSquadReport (const GameDateValue &date, const Team &team)
 
void postPreseasonSchedule (const GameDateValue &date, const Team &team, const std::vector< UpcomingFixture > &schedule)
 
void postScoutSuggestion (const GameDateValue &date, const Team &team)
 
void processMonthly (const GameDateValue &date, TeamID managed_team_id)
 
void sendContractNotices (const GameDateValue &date, TeamID managed_team_id)
 
void awardPrizeMoney (const GameDateValue &date, TeamID managed_team_id)
 
void renewAiContracts (TeamID managed_team_id)
 
void trimAiSquads (TeamID managed_team_id)
 
void retirePlayers (const GameDateValue &date, TeamID managed_team_id)
 
void ensureBoard (const GameDateValue &date, TeamID managed_team_id, bool new_season, bool post_objective=true)
 
void developPlayer (Player &player, float training_quality, std::int32_t ordinal)
 
void updateWeeklyMorale (Team &team)
 
void injure (Player &player, const GameDateValue &date, std::int32_t ordinal, bool in_match, TeamID managed_team_id)
 
void recordGateReceipts (const Match &match)
 
void postTrainingWarning (const GameDateValue &date, TeamID managed_team_id)
 
void refreshAiLineups (TeamID managed_team_id)
 
void dropUnavailableFromAiLineups (TeamID managed_team_id)
 
std::vector< TeamID > standings (LeagueID league_id) const
 
std::vector< TeamID > pointsOrder (LeagueID league_id) const
 
double sportingSuccess (const Team &team) const
 
void post (const GameDateValue &date, InboxCategory category, std::string title_key, std::string body_key, std::vector< std::string > args, std::optional< PlayerID > player_id=std::nullopt, std::optional< TeamID > team_id=std::nullopt, bool read=false)
 
const FocusStats & focusFor (const Player &player) const
 

Static Private Member Functions

static std::uint16_t seasonYear (const GameDateValue &date)
 

Private Attributes

std::shared_ptr< GameData > gamedata
 
ScoutingSystem scouting
 
InteractionSystem interactions
 
StoryEngine stories
 
YouthAcademy youth
 
SquadStatusBook squad_statuses
 
AwardSystem awards
 
RecordBook records
 
FacilityProjects facility_projects
 
PreseasonPlanner preseason
 
MentoringSystem mentoring
 
HolidayPreferences holiday_preferences
 
Inbox inbox
 
BoardState board
 
std::mutex focus_cache_mutex
 
std::unordered_map< std::string, FocusStats > focus_by_category
 
std::unordered_map< TeamID, std::uint32_t > last_attendance
 
std::function< std::vector< TeamID >(LeagueID)> standings_provider
 
std::function< void(const GameDateValue &, TrainingSystem::FixtureOutlook &)> fixture_outlook_provider
 
std::function< double(PlayerID, const GameDateValue &)> injury_risk_provider
 
TrainingSystem::FixtureOutlook fixture_outlook
 
std::function< bool(PlayerID)> loan_check
 
std::function< const std::vector< SeasonHistoryEntry > &()> season_history_provider
 
std::function< bool(PlayerID)> free_agent_hold
 
std::function< void(Team &, const Player &)> lineup_gap_filler
 
std::int64_t season_prize_money = 0
 
std::unordered_set< TeamID > lineup_dirty
 
std::vector< std::string > week_recoveries
 
std::vector< std::string > week_minor_injuries
 
bool cash_warning_sent = false
 
bool transfer_embargo = false
 

Detailed Description

Everything that happens between matches.

Owns the managed club's inbox and board state and processes, from the Game's day loop: condition recovery, training and match injuries, weekly payroll, training development, morale, monthly revenue and costs, the March youth intake and season-end prize money, contract renewals and retirements. All randomness is derived from the save's world seed.

Constructor & Destructor Documentation

◆ WorldSimulation()

WorldSimulation::WorldSimulation ( std::shared_ptr< GameData >  gamedata)
explicit

Member Function Documentation

◆ adjustBoardConfidence()

void WorldSimulation::adjustBoardConfidence ( float  delta)

Moves the board's confidence in the manager by delta points (clamped to 0-100); no-op without a managed club.

◆ applyMatchConsequences()

bool WorldSimulation::applyMatchConsequences ( const GameDateValue &  date,
const PlayerMatchConsequence &  consequence,
TeamID  managed_team_id 
)

Applies one player's physical match consequences on date (condition, sharpness, minutes, injuries). Idempotent per player and day: returns false if already applied for that date or the player is unknown.

◆ applyRelegationWageCuts()

void WorldSimulation::applyRelegationWageCuts ( const std::vector< TeamID > &  relegated,
TeamID  managed_team_id 
)
private

Relegation clauses: AI players of relegated clubs take a wage cut.

◆ awardPrizeMoney()

void WorldSimulation::awardPrizeMoney ( const GameDateValue &  date,
TeamID  managed_team_id 
)
private

◆ clearFreeAgentPool()

void WorldSimulation::clearFreeAgentPool ( const GameDateValue &  date)
private

Unsigned free agents leave the world (see WorldTuning::FreeAgents).

◆ developPlayer()

void WorldSimulation::developPlayer ( Player &  player,
float  training_quality,
std::int32_t  ordinal 
)
private

◆ dropUnavailableFromAiLineups()

void WorldSimulation::dropUnavailableFromAiLineups ( TeamID  managed_team_id)
private

◆ ensureBoard()

void WorldSimulation::ensureBoard ( const GameDateValue &  date,
TeamID  managed_team_id,
bool  new_season,
bool  post_objective = true 
)
private

◆ focusFor()

const WorldSimulation::FocusStats & WorldSimulation::focusFor ( const Player &  player) const
private

◆ getAwards() [1/2]

AwardSystem & WorldSimulation::getAwards ( )
inline

League honours, records book, facility projects, pre-season plan, mentoring groups and holiday preferences.

◆ getAwards() [2/2]

const AwardSystem & WorldSimulation::getAwards ( ) const
inline

◆ getBoardState()

const BoardState & WorldSimulation::getBoardState ( ) const
inline

◆ getFacilityProjects() [1/2]

FacilityProjects & WorldSimulation::getFacilityProjects ( )
inline

◆ getFacilityProjects() [2/2]

const FacilityProjects & WorldSimulation::getFacilityProjects ( ) const
inline

◆ getHolidayPreferences() [1/2]

HolidayPreferences & WorldSimulation::getHolidayPreferences ( )
inline

◆ getHolidayPreferences() [2/2]

const HolidayPreferences & WorldSimulation::getHolidayPreferences ( ) const
inline

◆ getInbox() [1/2]

Inbox & WorldSimulation::getInbox ( )
inline

◆ getInbox() [2/2]

const Inbox & WorldSimulation::getInbox ( ) const
inline

◆ getInteractions() [1/2]

InteractionSystem & WorldSimulation::getInteractions ( )
inline

Conversations, promises, team talks and the dressing room.

◆ getInteractions() [2/2]

const InteractionSystem & WorldSimulation::getInteractions ( ) const
inline

◆ getMentoring() [1/2]

MentoringSystem & WorldSimulation::getMentoring ( )
inline

◆ getMentoring() [2/2]

const MentoringSystem & WorldSimulation::getMentoring ( ) const
inline

◆ getPreseason() [1/2]

PreseasonPlanner & WorldSimulation::getPreseason ( )
inline

◆ getPreseason() [2/2]

const PreseasonPlanner & WorldSimulation::getPreseason ( ) const
inline

◆ getRecords() [1/2]

RecordBook & WorldSimulation::getRecords ( )
inline

◆ getRecords() [2/2]

const RecordBook & WorldSimulation::getRecords ( ) const
inline

◆ getScouting() [1/2]

ScoutingSystem & WorldSimulation::getScouting ( )
inline

Scouting knowledge, assignments, reports and shortlist.

◆ getScouting() [2/2]

const ScoutingSystem & WorldSimulation::getScouting ( ) const
inline

◆ getSeasonPrizeMoney()

std::int64_t WorldSimulation::getSeasonPrizeMoney ( ) const
inline

Merit money the managed club earned at the latest season end.

◆ getSquadStatuses() [1/2]

SquadStatusBook & WorldSimulation::getSquadStatuses ( )
inline

Squad statuses the manager gave players of his club.

◆ getSquadStatuses() [2/2]

const SquadStatusBook & WorldSimulation::getSquadStatuses ( ) const
inline

◆ getStories() [1/2]

StoryEngine & WorldSimulation::getStories ( )
inline

Story chains of the managed club.

◆ getStories() [2/2]

const StoryEngine & WorldSimulation::getStories ( ) const
inline

◆ getYouth() [1/2]

YouthAcademy & WorldSimulation::getYouth ( )
inline

Academies: intake cycle, U18 squads and academy projects.

◆ getYouth() [2/2]

const YouthAcademy & WorldSimulation::getYouth ( ) const
inline

◆ injure()

void WorldSimulation::injure ( Player &  player,
const GameDateValue &  date,
std::int32_t  ordinal,
bool  in_match,
TeamID  managed_team_id 
)
private

◆ isTransferEmbargoed()

bool WorldSimulation::isTransferEmbargoed ( TeamID  team_id) const

True while the board freezes the managed club's transfer spending: its cash has been negative since at least the previous monthly review (a warning comes first). Lifts as soon as the balance is positive again. Other clubs are never embargoed (their budget is already zero without cash).

◆ lastHomeAttendance()

std::uint32_t WorldSimulation::lastHomeAttendance ( TeamID  team_id) const

Crowd of the club's latest home match (0 if none this session).

◆ leaguePosition()

int WorldSimulation::leaguePosition ( TeamID  team_id) const

League position of a club by points (1-based, 0 if unknown); a cheap approximation used during the season.

◆ lineupStrength()

float WorldSimulation::lineupStrength ( TeamID  team_id) const

Mean overall of the club's selected XI.

◆ load()

void WorldSimulation::load ( const std::shared_ptr< DatabaseConnection > &  db_conn)

Loads the inbox and board state (after GameData is loaded).

◆ onDayAdvanced()

void WorldSimulation::onDayAdvanced ( const GameDateValue &  date,
TeamID  managed_team_id 
)

Daily/weekly/monthly processing; call once per new date.

◆ onManagedTeamSelected()

void WorldSimulation::onManagedTeamSelected ( const GameDateValue &  date,
TeamID  team_id,
const std::vector< UpcomingFixture > &  schedule 
)

The manager took charge of team_id: the board sets the objective and budgets (so they are known on day one) and the inbox receives the board's welcome, the assistant's squad report, the pre-season schedule (from schedule, the club's next fixtures up to the first competitive match) and a scouting suggestion. Nothing happens when the club was already managed.

◆ onManagerLeft()

void WorldSimulation::onManagerLeft ( )

The manager left the managed club (sacked, resigned or moved): the board, cash warnings and the shortlist belong to that club and are dropped. The inbox stays; the next club's welcome joins it.

◆ onMatchPlayed()

void WorldSimulation::onMatchPlayed ( const Match &  match,
MatchReport &  report,
TeamID  managed_team_id 
)

Applies the consequences of a played match: condition, sharpness, injuries, ratings, morale, recent form, gate receipts (written to report.attendance), board confidence and news. Participants come from report.players (starters of the line-ups when empty); ratings of 0 are estimated. Players whose physical consequences were already applied on the match date through applyMatchConsequences() are not drained twice.

◆ onSaved()

void WorldSimulation::onSaved ( )

Marks ledgers and removals as persisted after a successful commit.

◆ onSeasonEnd()

void WorldSimulation::onSeasonEnd ( const GameDateValue &  date,
TeamID  managed_team_id 
)

Prize money, reputation, board review, renewals and retirements.

◆ onSeasonStart()

void WorldSimulation::onSeasonStart ( const GameDateValue &  date,
TeamID  managed_team_id 
)

Budgets, ticket prices, season counters and the board objective.

◆ onTransferBid()

void WorldSimulation::onTransferBid ( const GameDateValue &  date,
PlayerID  player_id,
TeamID  bidder_id,
std::uint32_t  amount,
TeamID  managed_team_id 
)

A club bid for a player; unsettles ambitious players.

◆ onTransferCompleted()

void WorldSimulation::onTransferCompleted ( const GameDateValue &  date,
PlayerID  player_id,
TeamID  from_team_id,
TeamID  to_team_id,
std::uint32_t  fee,
TeamID  managed_team_id 
)

A transfer completed.

◆ parachutes()

std::unordered_map< TeamID, double > WorldSimulation::parachutes ( const std::unordered_map< LeagueID, LeagueEconomy > &  economies,
std::vector< TeamID > *  relegated_now = nullptr 
) const
private

Parachute money per season of the clubs that went down from a top division in the last two finished seasons and are still below it.

Parameters
relegated_nowReceives the clubs that went down at the end of the latest finished season.

◆ pointsOrder()

std::vector< TeamID > WorldSimulation::pointsOrder ( LeagueID  league_id) const
private

◆ post()

void WorldSimulation::post ( const GameDateValue &  date,
InboxCategory  category,
std::string  title_key,
std::string  body_key,
std::vector< std::string >  args,
std::optional< PlayerID >  player_id = std::nullopt,
std::optional< TeamID >  team_id = std::nullopt,
bool  read = false 
)
private

◆ postMedicalDigest()

void WorldSimulation::postMedicalDigest ( const GameDateValue &  date,
TeamID  managed_team_id 
)
private

◆ postPreseasonSchedule()

void WorldSimulation::postPreseasonSchedule ( const GameDateValue &  date,
const Team &  team,
const std::vector< UpcomingFixture > &  schedule 
)
private

◆ postScoutSuggestion()

void WorldSimulation::postScoutSuggestion ( const GameDateValue &  date,
const Team &  team 
)
private

◆ postSquadReport()

void WorldSimulation::postSquadReport ( const GameDateValue &  date,
const Team &  team 
)
private

◆ postTrainingWarning()

void WorldSimulation::postTrainingWarning ( const GameDateValue &  date,
TeamID  managed_team_id 
)
private

◆ processDaily()

void WorldSimulation::processDaily ( const GameDateValue &  date,
std::int32_t  ordinal,
TeamID  managed_team_id 
)
private

◆ processMonthly()

void WorldSimulation::processMonthly ( const GameDateValue &  date,
TeamID  managed_team_id 
)
private

◆ processWeekly()

void WorldSimulation::processWeekly ( const GameDateValue &  date,
TeamID  managed_team_id 
)
private

◆ recordGateReceipts()

void WorldSimulation::recordGateReceipts ( const Match &  match)
private

◆ refreshAiLineups()

void WorldSimulation::refreshAiLineups ( TeamID  managed_team_id)
private

◆ renewAiContracts()

void WorldSimulation::renewAiContracts ( TeamID  managed_team_id)
private

◆ rescueByOwner()

void WorldSimulation::rescueByOwner ( const GameDateValue &  date,
Team &  team 
) const
private

An AI club deep in the red may be recapitalised by its owner.

◆ retirePlayers()

void WorldSimulation::retirePlayers ( const GameDateValue &  date,
TeamID  managed_team_id 
)
private

◆ reviewCash()

void WorldSimulation::reviewCash ( const GameDateValue &  date,
TeamID  managed_team_id,
bool  monthly 
)
private

◆ save()

void WorldSimulation::save ( const std::shared_ptr< DatabaseConnection > &  db_conn) const

Writes inbox, board, world state and retired players (in a transaction owned by the caller).

◆ seasonYear()

std::uint16_t WorldSimulation::seasonYear ( const GameDateValue &  date)
staticprivate

◆ sendContractNotices()

void WorldSimulation::sendContractNotices ( const GameDateValue &  date,
TeamID  managed_team_id 
)
private

◆ setFixtureOutlookProvider()

void WorldSimulation::setFixtureOutlookProvider ( std::function< void(const GameDateValue &, TrainingSystem::FixtureOutlook &)>  provider)

Supplies the days to every club's next fixture (within a week) so that training follows the real match rhythm. Without a provider a weekly rhythm after each club's last match is assumed.

◆ setFreeAgentHold()

void WorldSimulation::setFreeAgentHold ( std::function< bool(PlayerID)>  is_held)

Free agents the manager is dealing with (talks, a pre-contract) stay in the pool until that is settled.

◆ setInjuryRiskProvider()

void WorldSimulation::setInjuryRiskProvider ( std::function< double(PlayerID, const GameDateValue &)>  provider)

Supplies an extra injury-risk multiplier (>= 1) per player and day, e.g. after long international trips. Without a provider it is 1.

◆ setLineupGapFiller()

void WorldSimulation::setLineupGapFiller ( std::function< void(Team &, const Player &)>  filler)

Takes a departing player out of the managed club's line-up and fills only his place (the rest of the manager's selection stays). Called for managed players who retire, before they are erased. Without a filler the line-up is rebuilt.

◆ setLoanCheck()

void WorldSimulation::setLoanCheck ( std::function< bool(PlayerID)>  is_on_loan)

Tells whether a player is on loan at his current club; loanees' contracts belong to the parent club, so AI squad planning leaves them alone.

◆ setSeasonHistoryProvider()

void WorldSimulation::setSeasonHistoryProvider ( std::function< const std::vector< SeasonHistoryEntry > &()>  provider)

Final outcomes of the finished seasons: who went down feeds parachute payments and relegation wage clauses. Without a provider neither is applied.

◆ setStandingsProvider()

void WorldSimulation::setStandingsProvider ( std::function< std::vector< TeamID >(LeagueID)>  provider)

Supplies final league tables (1st place first) for season-end prize money, board reviews and reputation. Without a provider clubs are ordered by points.

◆ sportingSuccess()

double WorldSimulation::sportingSuccess ( const Team &  team) const
private

◆ squadRole()

SquadRole WorldSimulation::squadRole ( PlayerID  player_id) const

Playing-time expectation of a player in his squad: the status the manager gave him (managed club), else derived from his ability rank.

◆ standings()

std::vector< TeamID > WorldSimulation::standings ( LeagueID  league_id) const
private

◆ trimAiSquads()

void WorldSimulation::trimAiSquads ( TeamID  managed_team_id)
private

◆ updateWeeklyMorale()

void WorldSimulation::updateWeeklyMorale ( Team &  team)
private

Member Data Documentation

◆ awards

AwardSystem WorldSimulation::awards
private

◆ board

BoardState WorldSimulation::board
private

◆ cash_warning_sent

bool WorldSimulation::cash_warning_sent = false
private

Cash review of the managed club (rebuilt from the ledger on load).

◆ facility_projects

FacilityProjects WorldSimulation::facility_projects
private

◆ fixture_outlook

TrainingSystem::FixtureOutlook WorldSimulation::fixture_outlook
private

◆ fixture_outlook_provider

std::function<void(const GameDateValue&, TrainingSystem::FixtureOutlook&)> WorldSimulation::fixture_outlook_provider
private

◆ focus_by_category

std::unordered_map<std::string, FocusStats> WorldSimulation::focus_by_category
mutableprivate

◆ focus_cache_mutex

std::mutex WorldSimulation::focus_cache_mutex
mutableprivate

◆ free_agent_hold

std::function<bool(PlayerID)> WorldSimulation::free_agent_hold
private

◆ gamedata

std::shared_ptr<GameData> WorldSimulation::gamedata
private

◆ holiday_preferences

HolidayPreferences WorldSimulation::holiday_preferences
private

◆ inbox

Inbox WorldSimulation::inbox
private

◆ injury_risk_provider

std::function<double(PlayerID, const GameDateValue&)> WorldSimulation::injury_risk_provider
private

◆ interactions

InteractionSystem WorldSimulation::interactions
private

◆ last_attendance

std::unordered_map<TeamID, std::uint32_t> WorldSimulation::last_attendance
private

◆ lineup_dirty

std::unordered_set<TeamID> WorldSimulation::lineup_dirty
private

◆ lineup_gap_filler

std::function<void(Team&, const Player&)> WorldSimulation::lineup_gap_filler
private

◆ loan_check

std::function<bool(PlayerID)> WorldSimulation::loan_check
private

◆ mentoring

MentoringSystem WorldSimulation::mentoring
private

◆ preseason

PreseasonPlanner WorldSimulation::preseason
private

◆ records

RecordBook WorldSimulation::records
private

◆ scouting

ScoutingSystem WorldSimulation::scouting
private

◆ season_history_provider

std::function<const std::vector<SeasonHistoryEntry>&()> WorldSimulation::season_history_provider
private

◆ season_prize_money

std::int64_t WorldSimulation::season_prize_money = 0
private

◆ squad_statuses

SquadStatusBook WorldSimulation::squad_statuses
private

◆ standings_provider

std::function<std::vector<TeamID>(LeagueID)> WorldSimulation::standings_provider
private

◆ stories

StoryEngine WorldSimulation::stories
private

◆ transfer_embargo

bool WorldSimulation::transfer_embargo = false
private

◆ week_minor_injuries

std::vector<std::string> WorldSimulation::week_minor_injuries
private

◆ week_recoveries

std::vector<std::string> WorldSimulation::week_recoveries
private

Managed-club medical news of the current week, sent as one digest.

◆ youth

YouthAcademy WorldSimulation::youth
private

The documentation for this class was generated from the following files: