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

#include <transfer_tuning.h>

Static Public Attributes

static constexpr std::uint8_t MINIMUM_YEARS = 1
 
static constexpr std::uint8_t MAXIMUM_YEARS = 5
 
static constexpr std::uint8_t MINOR_MAXIMUM_YEARS = 3
 
static constexpr int MINOR_AGE = 18
 
static constexpr int YOUNG_PLAYER_MAXIMUM_AGE = 23
 
static constexpr int PRIME_PLAYER_MAXIMUM_AGE = 29
 
static constexpr std::uint8_t YOUNG_PLAYER_MINIMUM_YEARS = 3
 
static constexpr std::uint8_t PRIME_PLAYER_MINIMUM_YEARS = 2
 
static constexpr std::uint8_t VETERAN_MINIMUM_YEARS = 1
 
static constexpr float TRANSFER_WAGE_RAISE = 1.10f
 
static constexpr float FREE_AGENT_WAGE_RAISE = 1.05f
 
static constexpr std::uint32_t MINIMUM_WEEKLY_WAGE = 500
 
static constexpr std::int64_t MINIMUM_WEEKLY_WAGE_BUDGET = 100'000
 
static constexpr double WEEKS_PER_YEAR = 52.0
 

Member Data Documentation

◆ FREE_AGENT_WAGE_RAISE

constexpr float TransferTuning::Contract::FREE_AGENT_WAGE_RAISE = 1.05f
staticconstexpr

◆ MAXIMUM_YEARS

constexpr std::uint8_t TransferTuning::Contract::MAXIMUM_YEARS = 5
staticconstexpr

RSTP: at most 5 years, 3 for players under 18. [S]

◆ MINIMUM_WEEKLY_WAGE

constexpr std::uint32_t TransferTuning::Contract::MINIMUM_WEEKLY_WAGE = 500
staticconstexpr

◆ MINIMUM_WEEKLY_WAGE_BUDGET

constexpr std::int64_t TransferTuning::Contract::MINIMUM_WEEKLY_WAGE_BUDGET = 100'000
staticconstexpr

◆ MINIMUM_YEARS

constexpr std::uint8_t TransferTuning::Contract::MINIMUM_YEARS = 1
staticconstexpr

◆ MINOR_AGE

constexpr int TransferTuning::Contract::MINOR_AGE = 18
staticconstexpr

◆ MINOR_MAXIMUM_YEARS

constexpr std::uint8_t TransferTuning::Contract::MINOR_MAXIMUM_YEARS = 3
staticconstexpr

◆ PRIME_PLAYER_MAXIMUM_AGE

constexpr int TransferTuning::Contract::PRIME_PLAYER_MAXIMUM_AGE = 29
staticconstexpr

◆ PRIME_PLAYER_MINIMUM_YEARS

constexpr std::uint8_t TransferTuning::Contract::PRIME_PLAYER_MINIMUM_YEARS = 2
staticconstexpr

◆ TRANSFER_WAGE_RAISE

constexpr float TransferTuning::Contract::TRANSFER_WAGE_RAISE = 1.10f
staticconstexpr

◆ VETERAN_MINIMUM_YEARS

constexpr std::uint8_t TransferTuning::Contract::VETERAN_MINIMUM_YEARS = 1
staticconstexpr

◆ WEEKS_PER_YEAR

constexpr double TransferTuning::Contract::WEEKS_PER_YEAR = 52.0
staticconstexpr

◆ YOUNG_PLAYER_MAXIMUM_AGE

constexpr int TransferTuning::Contract::YOUNG_PLAYER_MAXIMUM_AGE = 23
staticconstexpr

◆ YOUNG_PLAYER_MINIMUM_YEARS

constexpr std::uint8_t TransferTuning::Contract::YOUNG_PLAYER_MINIMUM_YEARS = 3
staticconstexpr

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