#include <array>
#include <cstddef>
#include <cstdint>
#include <utility>
#include <vector>
#include "global/types.h"
Go to the source code of this file.
|
| enum class | PlannerGroup : std::uint8_t {
Goalkeeper
, CentreBack
, LeftBack
, RightBack
,
Midfield
, Wide
, Striker
, COUNT
} |
| | Position groups of the depth chart (the groups computer-managed clubs count when they look for missing or surplus players). More...
|
| |
| enum class | DepthTier : std::uint8_t { FirstChoice
, Backup
, Prospect
} |
| | Place of a player in his group's depth chart. More...
|
| |
| enum class | NeedKind : std::uint8_t { Missing
, Upgrade
, Succession
, Surplus
} |
| | Why the planner suggests recruitment (or a sale) for a group. More...
|
| |
◆ DepthTier
Place of a player in his group's depth chart.
| Enumerator |
|---|
| FirstChoice | |
| Backup | |
| Prospect | Young player behind the first choices.
|
◆ NeedKind
Why the planner suggests recruitment (or a sale) for a group.
| Enumerator |
|---|
| Missing | Fewer players than the healthy depth.
|
| Upgrade | First choices clearly weaker than the rest of the XI.
|
| Succession | A first choice is ageing or his contract runs out.
|
| Surplus | Two or more players more than needed.
|
◆ PlannerGroup
Position groups of the depth chart (the groups computer-managed clubs count when they look for missing or surplus players).
| Enumerator |
|---|
| Goalkeeper | |
| CentreBack | |
| LeftBack | |
| RightBack | |
| Midfield | Defensive, central and attacking midfielders.
|
| Wide | Wide midfielders and wingers.
|
| Striker | |
| COUNT | |
◆ AGE_BAND_COUNT
| constexpr std::size_t AGE_BAND_COUNT = AGE_BAND_LIMITS.size() + 1 |
|
inlineconstexpr |
◆ AGE_BAND_LIMITS
| constexpr std::array<int, 4> AGE_BAND_LIMITS = {21, 25, 29, 32} |
|
inlineconstexpr |
Age bands of the age profile.
◆ PLANNER_GROUP_COUNT
| constexpr std::size_t PLANNER_GROUP_COUNT |
|
inlineconstexpr |