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

#include <transfer_tuning.h>

Static Public Attributes

static constexpr int MAX_LOANS_OUT = 6
 
static constexpr int MAX_LOANS_IN = 6
 
static constexpr int EXEMPT_MAX_AGE = 21
 
static constexpr int MAX_BETWEEN_CLUBS = 3
 
static constexpr int SIX_MONTH_DAYS = 182
 
static constexpr std::uint8_t LISTED_WAGE_SHARE = 50
 
static constexpr std::uint8_t UNLISTED_WAGE_SHARE = 80
 
static constexpr float OPTION_VALUE_MULTIPLE = 1.10f
 
static constexpr float OBLIGATION_VALUE_MULTIPLE = 1.0f
 
static constexpr int PROSPECT_MAX_AGE = 23
 
static constexpr int SMALL_BORROWER_REPUTATION_GAP = 10
 
static constexpr std::uint8_t SMALL_BORROWER_WAGE_SHARE = 25
 
static constexpr int RECALL_MIN_DAYS = 90
 

Detailed Description

Loans (RSTP Art. 10 from 2024/25).

Member Data Documentation

◆ EXEMPT_MAX_AGE

constexpr int TransferTuning::Loan::EXEMPT_MAX_AGE = 21
staticconstexpr

◆ LISTED_WAGE_SHARE

constexpr std::uint8_t TransferTuning::Loan::LISTED_WAGE_SHARE = 50
staticconstexpr

Wage share the parent expects for a loan-listed player, and for a player it did not offer. [P]

◆ MAX_BETWEEN_CLUBS

constexpr int TransferTuning::Loan::MAX_BETWEEN_CLUBS = 3
staticconstexpr

At most 3 loans between the same two clubs. [S]

◆ MAX_LOANS_IN

constexpr int TransferTuning::Loan::MAX_LOANS_IN = 6
staticconstexpr

◆ MAX_LOANS_OUT

constexpr int TransferTuning::Loan::MAX_LOANS_OUT = 6
staticconstexpr

At most 6 out and 6 in at a time; players aged 21 or younger do not count. [S]

◆ OBLIGATION_VALUE_MULTIPLE

constexpr float TransferTuning::Loan::OBLIGATION_VALUE_MULTIPLE = 1.0f
staticconstexpr

◆ OPTION_VALUE_MULTIPLE

constexpr float TransferTuning::Loan::OPTION_VALUE_MULTIPLE = 1.10f
staticconstexpr

Option / obligation fees must reach these multiples of value.

◆ PROSPECT_MAX_AGE

constexpr int TransferTuning::Loan::PROSPECT_MAX_AGE = 23
staticconstexpr

Loanees above this age are rarely wanted by the parent back.

◆ RECALL_MIN_DAYS

constexpr int TransferTuning::Loan::RECALL_MIN_DAYS = 90
staticconstexpr

A recall clause can be used only this many days into the loan (the January window for a summer loan), so a loan fee is never pocketed by recalling the player at once. [P]

◆ SIX_MONTH_DAYS

constexpr int TransferTuning::Loan::SIX_MONTH_DAYS = 182
staticconstexpr

◆ SMALL_BORROWER_REPUTATION_GAP

constexpr int TransferTuning::Loan::SMALL_BORROWER_REPUTATION_GAP = 10
staticconstexpr

A parent this many reputation points above the borrower pays most of the wage, so smaller clubs can afford its prospects. [P]

◆ SMALL_BORROWER_WAGE_SHARE

constexpr std::uint8_t TransferTuning::Loan::SMALL_BORROWER_WAGE_SHARE = 25
staticconstexpr

◆ UNLISTED_WAGE_SHARE

constexpr std::uint8_t TransferTuning::Loan::UNLISTED_WAGE_SHARE = 80
staticconstexpr

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