Player12
An open source football management simulator
Loading...
Searching...
No Matches
Lab::SeasonOptions Struct Reference

#include <lab_season.h>

Public Attributes

std::uint64_t seed = 1
 
int seasons = 1
 
unsigned threads = 4
 
std::string leagues = "all"
 
int max_days_per_season = 400
 
std::ostream * progress = nullptr
 
bool reload = false
 
std::vector< SeasonVitals > * vitals = nullptr
 

Member Data Documentation

◆ leagues

std::string Lab::SeasonOptions::leagues = "all"

"all", "top" (tier 1 only) or a comma-separated list of league IDs.

◆ max_days_per_season

int Lab::SeasonOptions::max_days_per_season = 400

Safety cap: a season taking more days than this is a failure.

◆ progress

std::ostream* Lab::SeasonOptions::progress = nullptr

Progress lines (every 30 days) go here when set.

◆ reload

bool Lab::SeasonOptions::reload = false

Save and reload the career after every season (soak runs).

◆ seasons

int Lab::SeasonOptions::seasons = 1

◆ seed

std::uint64_t Lab::SeasonOptions::seed = 1

◆ threads

unsigned Lab::SeasonOptions::threads = 4

◆ vitals

std::vector<SeasonVitals>* Lab::SeasonOptions::vitals = nullptr

Receives one SeasonVitals per season when set.


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