#include <array>
#include <cstddef>
#include <cstdint>
#include <optional>
#include <utility>
Go to the source code of this file.
|
| enum class | Duty : std::uint8_t {
LineupFixes = 0
, Substitutions
, TrainingSchedule
, ContractRenewals
,
ScoutingAssignments
, Friendlies
, YouthContracts
, COUNT
} |
| | Recurring jobs the manager may hand to the backroom staff. More...
|
| |
| enum class | DutyOwner : std::uint8_t { Manager = 0
, Assistant
} |
| | Who takes care of a duty (values are persisted). More...
|
| |
| enum class | DelegationPreset : std::uint8_t { HandsOn = 0
, Balanced
, AssistantRuns
, COUNT
} |
| | Named delegation profiles offered on the delegation screen. More...
|
| |
◆ DelegationPreset
Named delegation profiles offered on the delegation screen.
| Enumerator |
|---|
| HandsOn | The manager decides everything that can be decided.
|
| Balanced | Matchday safety nets delegated, squad business kept.
|
| AssistantRuns | The assistant runs the daily operations.
|
| COUNT | |
◆ Duty
| enum class Duty : std::uint8_t |
|
strong |
Recurring jobs the manager may hand to the backroom staff.
Values are persisted (table DelegatedDuties); append new duties at the end.
| Enumerator |
|---|
| LineupFixes | Replace injured/suspended players before kick-off.
|
| Substitutions | In-match changes of the managed side.
|
| TrainingSchedule | Squad intensity and congestion weeks.
|
| ContractRenewals | Final-year renewals of players outside the core.
|
| ScoutingAssignments | Idle scouts are sent out.
|
| Friendlies | Pre-season friendly opponents.
|
| YouthContracts | Contracts for the youth intake trialists.
|
| COUNT | |
◆ DutyOwner
Who takes care of a duty (values are persisted).
| Enumerator |
|---|
| Manager | |
| Assistant | |
◆ delegationPresetKey()
Language key naming a preset.
◆ dutyHelpKey()
| const char * dutyHelpKey |
( |
Duty |
duty | ) |
|
Language key explaining what the assistant does for a duty.
◆ dutyKey()
| const char * dutyKey |
( |
Duty |
duty | ) |
|
Language key naming a duty ("DELEGATION_DUTY_LINEUP"...).
◆ DUTY_COUNT
| constexpr std::size_t DUTY_COUNT |
|
inlineconstexpr |
Initial value:=
static_cast<std::size_t
>(std::to_underlying(
Duty::COUNT))