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

One dated entry of the career timeline. More...

#include <career_timeline.h>

Public Member Functions

std::string text () const
 

Public Attributes

GameDateValue date
 
TimelineKind kind = TimelineKind::Appointed
 
std::uint16_t season_year = 0
 
TeamID team_id = 0
 
PlayerID player_id = 0
 
std::string text_key
 
std::vector< std::string > args
 

Detailed Description

One dated entry of the career timeline.

Member Function Documentation

◆ text()

std::string TimelineEntry::text ( ) const

Text in the current language.

Member Data Documentation

◆ args

std::vector<std::string> TimelineEntry::args

◆ date

GameDateValue TimelineEntry::date

◆ kind

TimelineKind TimelineEntry::kind = TimelineKind::Appointed

◆ player_id

PlayerID TimelineEntry::player_id = 0

Signings: the player.

◆ season_year

std::uint16_t TimelineEntry::season_year = 0

Calendar year the season started.

◆ team_id

TeamID TimelineEntry::team_id = 0

The club he was in charge of.

◆ text_key

std::string TimelineEntry::text_key

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