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

The saved facts the feed is built from. More...

#include <news_feed.h>

Public Attributes

const GameData * gamedata = nullptr
 
const Calendar * calendar = nullptr
 
std::span< const TransferRecord > transfers
 
std::span< const ManagerStint > stints
 
std::string manager_name
 
std::span< const AiManager > managers
 
std::span< const Vacancy > vacancies
 
std::span< const InboxMessage > inbox
 
std::span< const AwardRecord > awards
 
std::span< const RecordEntry > records
 
std::span< const SeasonHistoryEntry > history
 
TeamID managed_team = 0
 
GameDateValue world_start
 

Detailed Description

The saved facts the feed is built from.

Member Data Documentation

◆ awards

std::span<const AwardRecord> NewsSources::awards

◆ calendar

const Calendar* NewsSources::calendar = nullptr

This season's fixtures (results, upsets, title races); optional.

◆ gamedata

const GameData* NewsSources::gamedata = nullptr

◆ history

std::span<const SeasonHistoryEntry> NewsSources::history

◆ inbox

std::span<const InboxMessage> NewsSources::inbox

Inbox messages: dismissal reports name the departed manager.

◆ managed_team

TeamID NewsSources::managed_team = 0

◆ manager_name

std::string NewsSources::manager_name

◆ managers

std::span<const AiManager> NewsSources::managers

Computer managers (their appointment dates) and open vacancies.

◆ records

std::span<const RecordEntry> NewsSources::records

League records, plus the managed club's own records.

◆ stints

std::span<const ManagerStint> NewsSources::stints

The human manager's spells in charge and his name.

◆ transfers

std::span<const TransferRecord> NewsSources::transfers

◆ vacancies

std::span<const Vacancy> NewsSources::vacancies

◆ world_start

GameDateValue NewsSources::world_start

First day of the save: nothing earlier is news.


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