Player12
An open source football management simulator
Loading...
Searching...
No Matches
world_simulation.h File Reference
#include <cstdint>
#include <functional>
#include <memory>
#include <mutex>
#include <optional>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include "global/types.h"
#include "model/awards.h"
#include "model/board.h"
#include "model/club_economy.h"
#include "model/facility_projects.h"
#include "model/gamedate.h"
#include "model/holiday.h"
#include "model/inbox.h"
#include "model/interactions.h"
#include "model/mentoring.h"
#include "model/preseason.h"
#include "model/records.h"
#include "model/scouting.h"
#include "model/squad_status.h"
#include "model/stories.h"
#include "model/training.h"
#include "model/youth_academy.h"

Go to the source code of this file.

Classes

struct  PlayerMatchConsequence
 Physical outcome of one player's match. More...
 
struct  UpcomingFixture
 A fixture of the managed club, from the club's point of view. More...
 
class  WorldSimulation
 Everything that happens between matches. More...
 
struct  WorldSimulation::FocusStats
 

Enumerations

enum class  SquadRole : std::uint8_t {
  KeyPlayer , FirstTeam , Rotation , Backup ,
  Fringe
}
 Playing-time expectation derived from ability rank in the squad. More...
 

Functions

const char * squadRoleKey (SquadRole role)
 

Enumeration Type Documentation

◆ SquadRole

enum class SquadRole : std::uint8_t
strong

Playing-time expectation derived from ability rank in the squad.

Enumerator
KeyPlayer 

Top 5: expects to start nearly every match.

FirstTeam 

Rank 6-11: regular starter.

Rotation 

Rank 12-16.

Backup 

Rank 17-22.

Fringe 

Beyond the matchday squad (young players: prospect).

Function Documentation

◆ squadRoleKey()

const char * squadRoleKey ( SquadRole  role)

Language key naming role (e.g. "SQUAD_ROLE_KEY_PLAYER").