Player12
An open source football management simulator
Loading...
Searching...
No Matches
TransferTuning::Negotiation Struct Referencefinal

#include <transfer_tuning.h>

Static Public Attributes

static constexpr std::uint8_t MAX_PLAYER_ROUNDS = 3
 
static constexpr float BASE_TRANSFER_RAISE = 1.10f
 
static constexpr float AMBITION_RAISE = 0.15f
 
static constexpr std::uint32_t FREE_SIGNING_BONUS_WEEKS = 12
 
static constexpr float STATURE_WAGE_SLOPE = 0.03f
 
static constexpr int STATURE_REFUSAL_GAP = 25
 
static constexpr std::uint8_t STATURE_AMBITION = 70
 
static constexpr std::uint8_t LOYALTY_THRESHOLD = 75
 
static constexpr float LOYALTY_PREMIUM = 1.10f
 
static constexpr float UNSETTLED_DISCOUNT = 0.95f
 
static constexpr float AGENT_BASE_MARGIN = 0.06f
 
static constexpr float AGENT_AMBITION_MARGIN = 0.12f
 
static constexpr float AGENT_STATURE_MARGIN_PER_POINT = 0.005f
 
static constexpr float AGENT_STATURE_MARGIN_CAP = 0.10f
 
static constexpr std::uint32_t AGENT_ASK_ROUNDING = 100
 
static constexpr float AGENT_PUSHBACK_BAND = 0.10f
 
static constexpr std::uint8_t RELEASE_CLAUSE_AMBITION = 70
 
static constexpr std::uint8_t RELEASE_CLAUSE_CLUB_REPUTATION = 75
 
static constexpr float RELEASE_CLAUSE_VALUE_MULTIPLE = 2.5f
 
static constexpr int PROMISE_CREDIBILITY_LEVELS = 1
 
static constexpr int BROKEN_PROMISE_LEVELS = 2
 
static constexpr int PROMISE_GRACE_DAYS = 90
 
static constexpr float BROKEN_PROMISE_MORALE = 12.0f
 
static constexpr float KEY_APPS_PER_WEEK = 0.95f
 
static constexpr float FIRST_TEAM_APPS_PER_WEEK = 0.85f
 
static constexpr float ROTATION_APPS_PER_WEEK = 0.60f
 
static constexpr float BACKUP_APPS_PER_WEEK = 0.35f
 
static constexpr float FRINGE_APPS_PER_WEEK = 0.15f
 
static constexpr float AGENT_FEE_FLOOR = 0.90f
 
static constexpr float AGENT_FEE_BASE_MARGIN = 0.10f
 
static constexpr float AGENT_FEE_AMBITION_MARGIN = 0.15f
 
static constexpr int RISE_MAX_AGE = 29
 
static constexpr std::uint8_t RISE_HIGH = 8
 
static constexpr std::uint8_t RISE_MEDIUM = 5
 
static constexpr std::uint8_t RISE_LOW = 3
 
static constexpr std::uint8_t RISE_HIGH_AMBITION = 75
 
static constexpr std::uint8_t RISE_MEDIUM_AMBITION = 50
 
static constexpr std::uint8_t RISE_LOW_AMBITION = 25
 
static constexpr float APPEARANCE_BONUS_REGULAR_SHARE = 0.15f
 
static constexpr float APPEARANCE_BONUS_SQUAD_SHARE = 0.30f
 
static constexpr std::uint32_t TRANSFER_SIGNING_WEEKS = 4
 
static constexpr float INSULT_WAGE_SHARE = 0.75f
 

Detailed Description

Player side of a contract negotiation.

Member Data Documentation

◆ AGENT_AMBITION_MARGIN

constexpr float TransferTuning::Negotiation::AGENT_AMBITION_MARGIN = 0.12f
staticconstexpr

◆ AGENT_ASK_ROUNDING

constexpr std::uint32_t TransferTuning::Negotiation::AGENT_ASK_ROUNDING = 100
staticconstexpr

◆ AGENT_BASE_MARGIN

constexpr float TransferTuning::Negotiation::AGENT_BASE_MARGIN = 0.06f
staticconstexpr

The agent opens above what the player will sign for: a base margin plus more for ambitious players and for a step down in stature (per reputation point, capped). The ask falls to the real demand by the last round. [P]

◆ AGENT_FEE_AMBITION_MARGIN

constexpr float TransferTuning::Negotiation::AGENT_FEE_AMBITION_MARGIN = 0.15f
staticconstexpr

◆ AGENT_FEE_BASE_MARGIN

constexpr float TransferTuning::Negotiation::AGENT_FEE_BASE_MARGIN = 0.10f
staticconstexpr

◆ AGENT_FEE_FLOOR

constexpr float TransferTuning::Negotiation::AGENT_FEE_FLOOR = 0.90f
staticconstexpr

The agent's own fee: clubs usually pay the standard (AGENT_FEE_PERCENT of a fee, FREE_AGENT_FEE_WEEKS of wage on a free move); he opens above it by a margin that grows with the player's ambition, comes down to the standard by the last round and settles for no less than AGENT_FEE_FLOOR of it. [P]

◆ AGENT_PUSHBACK_BAND

constexpr float TransferTuning::Negotiation::AGENT_PUSHBACK_BAND = 0.10f
staticconstexpr

Wage offers this close below the demand get the agent's pushback instead of a flat refusal. [P]

◆ AGENT_STATURE_MARGIN_CAP

constexpr float TransferTuning::Negotiation::AGENT_STATURE_MARGIN_CAP = 0.10f
staticconstexpr

◆ AGENT_STATURE_MARGIN_PER_POINT

constexpr float TransferTuning::Negotiation::AGENT_STATURE_MARGIN_PER_POINT = 0.005f
staticconstexpr

◆ AMBITION_RAISE

constexpr float TransferTuning::Negotiation::AMBITION_RAISE = 0.15f
staticconstexpr

◆ APPEARANCE_BONUS_REGULAR_SHARE

constexpr float TransferTuning::Negotiation::APPEARANCE_BONUS_REGULAR_SHARE = 0.15f
staticconstexpr

◆ APPEARANCE_BONUS_SQUAD_SHARE

constexpr float TransferTuning::Negotiation::APPEARANCE_BONUS_SQUAD_SHARE = 0.30f
staticconstexpr

◆ BACKUP_APPS_PER_WEEK

constexpr float TransferTuning::Negotiation::BACKUP_APPS_PER_WEEK = 0.35f
staticconstexpr

◆ BASE_TRANSFER_RAISE

constexpr float TransferTuning::Negotiation::BASE_TRANSFER_RAISE = 1.10f
staticconstexpr

Wage raise asked for a transfer, scaled up by ambition. [P]

◆ BROKEN_PROMISE_LEVELS

constexpr int TransferTuning::Negotiation::BROKEN_PROMISE_LEVELS = 2
staticconstexpr

A promise broken by this many levels after the grace period costs morale. [P]

◆ BROKEN_PROMISE_MORALE

constexpr float TransferTuning::Negotiation::BROKEN_PROMISE_MORALE = 12.0f
staticconstexpr

◆ FIRST_TEAM_APPS_PER_WEEK

constexpr float TransferTuning::Negotiation::FIRST_TEAM_APPS_PER_WEEK = 0.85f
staticconstexpr

◆ FREE_SIGNING_BONUS_WEEKS

constexpr std::uint32_t TransferTuning::Negotiation::FREE_SIGNING_BONUS_WEEKS = 12
staticconstexpr

Free agents and pre-contracts ask for a signing bonus instead of a fee, in weeks of the asked wage. [P]

◆ FRINGE_APPS_PER_WEEK

constexpr float TransferTuning::Negotiation::FRINGE_APPS_PER_WEEK = 0.15f
staticconstexpr

◆ INSULT_WAGE_SHARE

constexpr float TransferTuning::Negotiation::INSULT_WAGE_SHARE = 0.75f
staticconstexpr

A wage below this share of his demand insults the agent.

◆ KEY_APPS_PER_WEEK

constexpr float TransferTuning::Negotiation::KEY_APPS_PER_WEEK = 0.95f
staticconstexpr

Competitive appearances per week by playing-time role (about 45 competitive matches over a 40-week season for a key player). [P]

◆ LOYALTY_PREMIUM

constexpr float TransferTuning::Negotiation::LOYALTY_PREMIUM = 1.10f
staticconstexpr

◆ LOYALTY_THRESHOLD

constexpr std::uint8_t TransferTuning::Negotiation::LOYALTY_THRESHOLD = 75
staticconstexpr

Loyal players ask more to leave their club. [P]

◆ MAX_PLAYER_ROUNDS

constexpr std::uint8_t TransferTuning::Negotiation::MAX_PLAYER_ROUNDS = 3
staticconstexpr

Proposals a player considers before ending the talks. [P]

◆ PROMISE_CREDIBILITY_LEVELS

constexpr int TransferTuning::Negotiation::PROMISE_CREDIBILITY_LEVELS = 1
staticconstexpr

Promises are believed up to one level above the projected role.

◆ PROMISE_GRACE_DAYS

constexpr int TransferTuning::Negotiation::PROMISE_GRACE_DAYS = 90
staticconstexpr

◆ RELEASE_CLAUSE_AMBITION

constexpr std::uint8_t TransferTuning::Negotiation::RELEASE_CLAUSE_AMBITION = 70
staticconstexpr

Ambitious players moving to a modest club want a release clause of at most this multiple of their market value. [P]

◆ RELEASE_CLAUSE_CLUB_REPUTATION

constexpr std::uint8_t TransferTuning::Negotiation::RELEASE_CLAUSE_CLUB_REPUTATION = 75
staticconstexpr

◆ RELEASE_CLAUSE_VALUE_MULTIPLE

constexpr float TransferTuning::Negotiation::RELEASE_CLAUSE_VALUE_MULTIPLE = 2.5f
staticconstexpr

◆ RISE_HIGH

constexpr std::uint8_t TransferTuning::Negotiation::RISE_HIGH = 8
staticconstexpr

◆ RISE_HIGH_AMBITION

constexpr std::uint8_t TransferTuning::Negotiation::RISE_HIGH_AMBITION = 75
staticconstexpr

◆ RISE_LOW

constexpr std::uint8_t TransferTuning::Negotiation::RISE_LOW = 3
staticconstexpr

◆ RISE_LOW_AMBITION

constexpr std::uint8_t TransferTuning::Negotiation::RISE_LOW_AMBITION = 25
staticconstexpr

◆ RISE_MAX_AGE

constexpr int TransferTuning::Negotiation::RISE_MAX_AGE = 29
staticconstexpr

Structure the agent asks for: a yearly rise for players up to RISE_MAX_AGE on multi-year deals (by ambition), appearance money as a share of the weekly wage (more for players unsure of a place) and a signing-on fee of some weeks of wage on a transfer. The structure is worth his flat ask: the base wage is lowered to match. [P]

◆ RISE_MEDIUM

constexpr std::uint8_t TransferTuning::Negotiation::RISE_MEDIUM = 5
staticconstexpr

◆ RISE_MEDIUM_AMBITION

constexpr std::uint8_t TransferTuning::Negotiation::RISE_MEDIUM_AMBITION = 50
staticconstexpr

◆ ROTATION_APPS_PER_WEEK

constexpr float TransferTuning::Negotiation::ROTATION_APPS_PER_WEEK = 0.60f
staticconstexpr

◆ STATURE_AMBITION

constexpr std::uint8_t TransferTuning::Negotiation::STATURE_AMBITION = 70
staticconstexpr

◆ STATURE_REFUSAL_GAP

constexpr int TransferTuning::Negotiation::STATURE_REFUSAL_GAP = 25
staticconstexpr

Ambitious players refuse clubs this far below their level. [P]

◆ STATURE_WAGE_SLOPE

constexpr float TransferTuning::Negotiation::STATURE_WAGE_SLOPE = 0.03f
staticconstexpr

Extra wage asked per reputation point the new club is below the current one, times ambition (0-1). [P]

◆ TRANSFER_SIGNING_WEEKS

constexpr std::uint32_t TransferTuning::Negotiation::TRANSFER_SIGNING_WEEKS = 4
staticconstexpr

◆ UNSETTLED_DISCOUNT

constexpr float TransferTuning::Negotiation::UNSETTLED_DISCOUNT = 0.95f
staticconstexpr

Players unsettled by interest accept a little less. [P]


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