Player12
An open source football management simulator
Loading...
Searching...
No Matches
manager_career.cpp File Reference
#include "model/manager_career.h"
#include <sqlite3.h>
#include <algorithm>
#include <cmath>
#include <map>
#include <memory>
#include <utility>
#include "database/database_connection.h"
#include "database/gamedata.h"
#include "global/global.h"
#include "model/competition.h"
#include "model/inbox.h"
#include "model/season_history.h"
#include "model/team.h"
#include "model/world_generation.h"
#include "model/world_rng.h"
#include "model/world_tuning.h"

Namespaces

namespace  ManagerMarketModel
 

Functions

ReputationTier ManagerMarketModel::reputationTier (float reputation)
 
const char * ManagerMarketModel::reputationTierKey (ReputationTier tier)
 
const char * ManagerMarketModel::licenceKey (CoachingLicence licence)
 
const char * ManagerMarketModel::styleKey (ManagerStyle style)
 
const char * ManagerMarketModel::backgroundKey (ManagerBackground background)
 
const char * ManagerMarketModel::ownerKey (OwnerType owner)
 
const char * ManagerMarketModel::departureKey (DepartureReason reason)
 
const char * ManagerMarketModel::awardKey (ManagerAwardKind kind)
 
float ManagerMarketModel::startingReputation (ManagerBackground background)
 
CoachingLicence ManagerMarketModel::startingLicence (ManagerBackground background)
 
CoachingLicence ManagerMarketModel::requiredLicence (std::uint8_t club_reputation, std::uint8_t tier)
 
float ManagerMarketModel::applicationChance (float manager_reputation, CoachingLicence licence, std::uint8_t club_reputation, std::uint8_t tier, float fit)
 
std::int64_t ManagerMarketModel::offerWage (std::uint8_t club_reputation, float manager_reputation, std::uint8_t tier)
 
float ManagerMarketModel::updateConfidence (float confidence, float &form, float points, float expected_points)
 
float ManagerMarketModel::weeklyDismissalHazard (float confidence, std::uint16_t matches, OwnerType owner)
 
float ManagerMarketModel::seasonEndDismissalChance (int position, int expected_position, int league_size, float confidence, OwnerType owner)
 
float ManagerMarketModel::monthFactor (std::uint8_t month)
 
ClubVision ManagerMarketModel::clubVision (std::uint64_t world_seed, TeamID team_id, std::uint8_t reputation, std::uint8_t youth_facilities, std::int64_t balance, std::int64_t yearly_income)
 
const char * ManagerMarketModel::interviewQuestionKey (InterviewTopic topic)
 
const char * ManagerMarketModel::interviewOptionKey (InterviewTopic topic, std::size_t option)
 
int ManagerMarketModel::interviewAnswerFit (const ClubVision &vision, InterviewTopic topic, std::size_t option)