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

A computer-controlled manager, employed or looking for work. More...

#include <manager_career.h>

Public Member Functions

std::string name () const
 

Public Attributes

std::uint32_t id = 0
 
std::string first_name
 
std::string last_name
 
Language nationality = Language::EN
 
std::uint8_t age = 50
 
float reputation = 40.0f
 
float ability = 50.0f
 
ManagerStyle style = ManagerStyle::Balanced
 
TeamID team_id = 0
 
GameDateValue appointed = GameDateValue()
 
std::uint16_t matches = 0
 
float confidence = 60.0f
 
float form = 0.0f
 

Detailed Description

A computer-controlled manager, employed or looking for work.

Member Function Documentation

◆ name()

std::string AiManager::name ( ) const
inline

Member Data Documentation

◆ ability

float AiManager::ability = 50.0f

Coaching quality, 1-100.

◆ age

std::uint8_t AiManager::age = 50

◆ appointed

GameDateValue AiManager::appointed = GameDateValue()

◆ confidence

float AiManager::confidence = 60.0f

Board confidence, 0-100.

◆ first_name

std::string AiManager::first_name

◆ form

float AiManager::form = 0.0f

Smoothed points minus expected points.

◆ id

std::uint32_t AiManager::id = 0

◆ last_name

std::string AiManager::last_name

◆ matches

std::uint16_t AiManager::matches = 0

League matches in the current job.

◆ nationality

Language AiManager::nationality = Language::EN

◆ reputation

float AiManager::reputation = 40.0f

◆ style

◆ team_id

TeamID AiManager::team_id = 0

0 = out of work.


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