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

The managed club's season as the end-of-season summary shows it (persisted once per season). More...

#include <season_review.h>

Public Attributes

std::uint16_t season = 0
 
std::uint16_t start_year = 0
 
TeamID team_id = 0
 
LeagueID league_id = 0
 
LeagueID next_league_id = 0
 
std::uint8_t position = 0
 
std::uint8_t league_size = 0
 
std::uint8_t target_position = 0
 
BoardObjective objective = BoardObjective::MidTable
 
CupObjective cup_objective = CupObjective::None
 
FinanceObjective finance_objective = FinanceObjective::WithinWageBudget
 
std::uint8_t youth_target = 0
 
std::uint8_t young_regulars = 0
 
std::uint16_t played = 0
 
std::uint16_t won = 0
 
std::uint16_t drawn = 0
 
std::uint16_t lost = 0
 
std::uint16_t goals_for = 0
 
std::uint16_t goals_against = 0
 
std::uint16_t points = 0
 
bool champion = false
 
bool promoted = false
 
bool relegated = false
 
bool cup_won = false
 
LeagueID continental_id = 0
 
std::string top_scorer
 
std::uint16_t top_scorer_goals = 0
 
std::int64_t prize_money = 0
 
std::int64_t balance = 0
 
float confidence_before = 0.0f
 
SeasonVerdictResult result
 
std::optional< BoardObjective > next_objective
 
std::uint8_t next_target = 0
 
CupObjective next_cup = CupObjective::None
 
FinanceObjective next_finances = FinanceObjective::WithinWageBudget
 
std::uint8_t next_youth = 0
 
bool seen = false
 

Detailed Description

The managed club's season as the end-of-season summary shows it (persisted once per season).

Member Data Documentation

◆ balance

std::int64_t SeasonReview::balance = 0

◆ champion

bool SeasonReview::champion = false

◆ confidence_before

float SeasonReview::confidence_before = 0.0f

◆ continental_id

LeagueID SeasonReview::continental_id = 0

Continental competition qualified for (0 = none).

◆ cup_objective

CupObjective SeasonReview::cup_objective = CupObjective::None

◆ cup_won

bool SeasonReview::cup_won = false

◆ drawn

std::uint16_t SeasonReview::drawn = 0

◆ finance_objective

FinanceObjective SeasonReview::finance_objective = FinanceObjective::WithinWageBudget

◆ goals_against

std::uint16_t SeasonReview::goals_against = 0

◆ goals_for

std::uint16_t SeasonReview::goals_for = 0

◆ league_id

LeagueID SeasonReview::league_id = 0

◆ league_size

std::uint8_t SeasonReview::league_size = 0

◆ lost

std::uint16_t SeasonReview::lost = 0

◆ next_cup

CupObjective SeasonReview::next_cup = CupObjective::None

◆ next_finances

◆ next_league_id

LeagueID SeasonReview::next_league_id = 0

After promotion or relegation.

◆ next_objective

std::optional<BoardObjective> SeasonReview::next_objective

Next season's objectives (unset after a sacking).

◆ next_target

std::uint8_t SeasonReview::next_target = 0

◆ next_youth

std::uint8_t SeasonReview::next_youth = 0

◆ objective

BoardObjective SeasonReview::objective = BoardObjective::MidTable

◆ played

std::uint16_t SeasonReview::played = 0

◆ points

std::uint16_t SeasonReview::points = 0

◆ position

std::uint8_t SeasonReview::position = 0

◆ prize_money

std::int64_t SeasonReview::prize_money = 0

◆ promoted

bool SeasonReview::promoted = false

◆ relegated

bool SeasonReview::relegated = false

◆ result

SeasonVerdictResult SeasonReview::result

◆ season

std::uint16_t SeasonReview::season = 0

◆ seen

bool SeasonReview::seen = false

The summary has been shown.

◆ start_year

std::uint16_t SeasonReview::start_year = 0

◆ target_position

std::uint8_t SeasonReview::target_position = 0

◆ team_id

TeamID SeasonReview::team_id = 0

◆ top_scorer

std::string SeasonReview::top_scorer

The club's top league scorer, if any.

◆ top_scorer_goals

std::uint16_t SeasonReview::top_scorer_goals = 0

◆ won

std::uint16_t SeasonReview::won = 0

◆ young_regulars

std::uint8_t SeasonReview::young_regulars = 0

◆ youth_target

std::uint8_t SeasonReview::youth_target = 0

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