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

#include <transfer_tuning.h>

Static Public Attributes

static constexpr float MISSING_STARTER_BONUS = 40.0f
 
static constexpr float MISSING_DEPTH_BONUS = 15.0f
 
static constexpr float UPGRADE_WEIGHT = 2.0f
 
static constexpr float MIN_GAIN = -10.0f
 
static constexpr float MAX_GAIN = 15.0f
 
static constexpr float UPGRADE_MARGIN = 1.0f
 

Detailed Description

How well a target fits the managed squad (recruitment screens). [P]

Member Data Documentation

◆ MAX_GAIN

constexpr float TransferTuning::Fit::MAX_GAIN = 15.0f
staticconstexpr

◆ MIN_GAIN

constexpr float TransferTuning::Fit::MIN_GAIN = -10.0f
staticconstexpr

◆ MISSING_DEPTH_BONUS

constexpr float TransferTuning::Fit::MISSING_DEPTH_BONUS = 15.0f
staticconstexpr

◆ MISSING_STARTER_BONUS

constexpr float TransferTuning::Fit::MISSING_STARTER_BONUS = 40.0f
staticconstexpr

Bonus for a position without enough starters / enough depth.

◆ UPGRADE_MARGIN

constexpr float TransferTuning::Fit::UPGRADE_MARGIN = 1.0f
staticconstexpr

Gain needed to call a target an upgrade.

◆ UPGRADE_WEIGHT

constexpr float TransferTuning::Fit::UPGRADE_WEIGHT = 2.0f
staticconstexpr

Score per overall point above the weakest starter, clamped.


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