Player12
An open source football management simulator
Loading...
Searching...
No Matches
game_controller.h File Reference
#include <atomic>
#include <chrono>
#include <filesystem>
#include <functional>
#include <memory>
#include <mutex>
#include <optional>
#include <random>
#include <unordered_map>
#include <vector>
#include "database/datagenerator.h"
#include "database/save_manager.h"
#include "global/stats_config.h"
#include "model/competition.h"
#include "model/game.h"
#include "model/guidance.h"
#include "model/league.h"
#include "model/manager_career.h"
#include "model/medical_centre.h"
#include "model/next_action.h"
#include "model/player.h"
#include "model/player_agent.h"
#include "model/season_agenda.h"
#include "model/squad_numbers.h"
#include "model/squad_planner.h"
#include "model/squad_status.h"
#include "model/staff.h"
#include "model/team.h"
#include "model/training.h"
#include "model/transfer_listing.h"
#include "model/world_rng.h"
#include "model/youth_academy.h"

Go to the source code of this file.

Classes

class  GameController
 Manages the core game logic, interacting with teams, leagues, and players. More...
 
struct  GameController::ContractTerms
 
struct  GameController::SaveSlotMetadata
 
struct  GameController::SaveStatusInfo
 
struct  GameController::ContinueProgress
 
struct  GameController::ContractTalkResult
 
struct  GameController::IncomingOfferView
 
struct  GameController::SquadNeeds
 
struct  GameController::BoardTargets
 The board's targets this season and how they are going. More...
 
struct  GameController::PotentialEstimate
 
struct  GameController::PlayerWorkload
 
struct  GameController::TrainingDayPreview
 
struct  GameController::YouthPlayerView
 
struct  GameController::AcademyOverview
 
struct  GameController::ReserveOverview
 
struct  GameController::VacancyView
 
struct  GameController::NationalVacancyView
 
struct  GameController::CallUpCandidate
 
struct  GameController::CallUpView
 
struct  GameController::NextFixture
 
struct  GameController::DataHubView
 
struct  GameController::EditorSession
 

Enumerations

enum class  ContinueStop : uint8_t {
  None = 0 , Fixture , Message , Decision ,
  WindowOpened , NewSeason , LostJob , Requested ,
  DayLimit
}
 Why the latest Continue, holiday or off-season jump stopped. More...
 

Enumeration Type Documentation

◆ ContinueStop

enum class ContinueStop : uint8_t
strong

Why the latest Continue, holiday or off-season jump stopped.

Enumerator
None 

Nothing ran.

Fixture 

A managed fixture is due (or now on the calendar).

Message 

News that needs the manager arrived.

Decision 

A bid, request or job offer waits for an answer.

WindowOpened 

A transfer window opened.

NewSeason 

The new season (and pre-season) began.

LostJob 

The manager was sacked or his contract ran out.

Requested 

The manager pressed Stop (or closed the game).

DayLimit 

The longest stretch simulated in one go.