|
Player12
An open source football management simulator
|
#include "model/data_hub.h"#include <algorithm>#include <map>#include <nlohmann/json.hpp>#include <numeric>#include <unordered_map>#include <utility>#include "model/match_engine.h"#include "model/world_rng.h"Functions | |
| ManagedMatchSnapshot | captureSnapshot (const MatchEngine &engine, const GameDateValue &date, TeamID home_id, TeamID away_id, bool managed_home) |
| const char * | leaderMetricKey (LeaderMetric metric) |
| const char * | hubMetricKey (HubMetric metric) |
| const char * | hubMetricHelpKey (HubMetric metric) |
| ManagedMatchSnapshot captureSnapshot | ( | const MatchEngine & | engine, |
| const GameDateValue & | date, | ||
| TeamID | home_id, | ||
| TeamID | away_id, | ||
| bool | managed_home | ||
| ) |
Captures the snapshot of a finished (or running) live match.
| const char * hubMetricHelpKey | ( | HubMetric | metric | ) |
| const char * hubMetricKey | ( | HubMetric | metric | ) |
Language key of a metric's name / definition.
| const char * leaderMetricKey | ( | LeaderMetric | metric | ) |