Player12
An open source football management simulator
Loading...
Searching...
No Matches
TransferMarketSceneTuning::Filters Struct Referencefinal

#include <transfer_market_scene_tuning.h>

Static Public Attributes

static constexpr std::size_t SEARCH_BUFFER_SIZE = 64
 
static constexpr int MINIMUM_AGE = 15
 
static constexpr int MAXIMUM_AGE = 45
 
static constexpr int DEFAULT_MAXIMUM_AGE = 40
 
static constexpr int MAXIMUM_OVERALL = 99
 
static constexpr std::size_t RESULT_LIMIT = 1000
 
static constexpr double AFFORDABLE_VALUE_MULTIPLE = 1.3
 
static constexpr std::array< std::int64_t, 8 > MAX_VALUE_STEPS
 
static constexpr std::size_t RECOMMENDED_LIMIT = 30
 

Member Data Documentation

◆ AFFORDABLE_VALUE_MULTIPLE

constexpr double TransferMarketSceneTuning::Filters::AFFORDABLE_VALUE_MULTIPLE = 1.3
staticconstexpr

Affordable: estimated value up to the budget times this (fees can be spread over instalments).

◆ DEFAULT_MAXIMUM_AGE

constexpr int TransferMarketSceneTuning::Filters::DEFAULT_MAXIMUM_AGE = 40
staticconstexpr

◆ MAX_VALUE_STEPS

constexpr std::array<std::int64_t, 8> TransferMarketSceneTuning::Filters::MAX_VALUE_STEPS
staticconstexpr
Initial value:
= {
250'000, 500'000, 1'000'000, 2'000'000,
5'000'000, 10'000'000, 20'000'000, 50'000'000}

Maximum-value presets of the filter (euros).

◆ MAXIMUM_AGE

constexpr int TransferMarketSceneTuning::Filters::MAXIMUM_AGE = 45
staticconstexpr

◆ MAXIMUM_OVERALL

constexpr int TransferMarketSceneTuning::Filters::MAXIMUM_OVERALL = 99
staticconstexpr

◆ MINIMUM_AGE

constexpr int TransferMarketSceneTuning::Filters::MINIMUM_AGE = 15
staticconstexpr

◆ RECOMMENDED_LIMIT

constexpr std::size_t TransferMarketSceneTuning::Filters::RECOMMENDED_LIMIT = 30
staticconstexpr

Players shown in the Recommended tab.

◆ RESULT_LIMIT

constexpr std::size_t TransferMarketSceneTuning::Filters::RESULT_LIMIT = 1000
staticconstexpr

Players estimated per search (best estimates first).

◆ SEARCH_BUFFER_SIZE

constexpr std::size_t TransferMarketSceneTuning::Filters::SEARCH_BUFFER_SIZE = 64
staticconstexpr

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