Player12
An open source football management simulator
Loading...
Searching...
No Matches
scout_expertise.cpp File Reference
#include "model/scout_expertise.h"
#include <algorithm>
#include <array>
#include <cmath>
#include <utility>
#include "model/world_rng.h"
#include "model/world_tuning.h"

Functions

const char * spokenLanguageKey (SpokenLanguage language)
 
const char * continentKey (Continent continent)
 
SpokenLanguage nativeLanguage (Language nationality)
 
Continent homeContinent (Language nationality)
 
Language countryNationality (LeagueID country)
 
SpokenLanguage countryLanguage (LeagueID country)
 
Continent countryContinent (LeagueID country)
 

Function Documentation

◆ continentKey()

const char * continentKey ( Continent  continent)

Language key of a continent ("SCOUT_CONTINENT_EUROPE"...).

◆ countryContinent()

Continent countryContinent ( LeagueID  country)

◆ countryLanguage()

SpokenLanguage countryLanguage ( LeagueID  country)

◆ countryNationality()

Language countryNationality ( LeagueID  country)

Country data of a league country, identified by its top league id (the root of the league tree, like ScoutTargetKind::Country).

◆ homeContinent()

Continent homeContinent ( Language  nationality)

Continent a nationality comes from.

◆ nativeLanguage()

SpokenLanguage nativeLanguage ( Language  nationality)

First language of a nationality.

◆ spokenLanguageKey()

const char * spokenLanguageKey ( SpokenLanguage  language)

Language key of a spoken language ("SCOUT_LANG_ENGLISH"...).