Player12
An open source football management simulator
Loading...
Searching...
No Matches
MatchTuning::Context Struct Referencefinal

#include <match_tuning.h>

Static Public Attributes

static constexpr float MIN_GOAL_RATE_SCALE = 0.5f
 
static constexpr float MAX_GOAL_RATE_SCALE = 1.5f
 
static constexpr float FINISHING_EXPONENT = 1.7f
 
static constexpr float MIN_REFEREE_STRICTNESS = 0.5f
 
static constexpr float MAX_REFEREE_STRICTNESS = 2.0f
 
static constexpr float MAX_REFEREE_SD = 0.5f
 
static constexpr float MAX_HOME_ADVANTAGE_SCALE = 2.0f
 

Detailed Description

Accepted ranges of MatchContext (league character).

Member Data Documentation

◆ FINISHING_EXPONENT

constexpr float MatchTuning::Context::FINISHING_EXPONENT = 1.7f
staticconstexpr

Shot precision grows as goalRateScale^FINISHING_EXPONENT.

◆ MAX_GOAL_RATE_SCALE

constexpr float MatchTuning::Context::MAX_GOAL_RATE_SCALE = 1.5f
staticconstexpr

◆ MAX_HOME_ADVANTAGE_SCALE

constexpr float MatchTuning::Context::MAX_HOME_ADVANTAGE_SCALE = 2.0f
staticconstexpr

◆ MAX_REFEREE_SD

constexpr float MatchTuning::Context::MAX_REFEREE_SD = 0.5f
staticconstexpr

◆ MAX_REFEREE_STRICTNESS

constexpr float MatchTuning::Context::MAX_REFEREE_STRICTNESS = 2.0f
staticconstexpr

◆ MIN_GOAL_RATE_SCALE

constexpr float MatchTuning::Context::MIN_GOAL_RATE_SCALE = 0.5f
staticconstexpr

◆ MIN_REFEREE_STRICTNESS

constexpr float MatchTuning::Context::MIN_REFEREE_STRICTNESS = 0.5f
staticconstexpr

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