|
Player12
An open source football management simulator
|
#include <match_engine.h>
Public Attributes | |
| std::uint64_t | step = 0 |
| MatchCommandType | type = MatchCommandType::STRATEGY |
| bool | homeTeam = true |
| Strategy | strategy |
| MatchShout | shout = MatchShout::ENCOURAGE |
| std::vector< Vector2F > | formation |
| PlayerID | player = 0 |
| PlayerID | incoming = 0 |
| std::optional< std::size_t > | slot |
| int | talkHalf = 1 |
| float | talkModifier = 0.0f |
A tactical change made from outside the engine (the touchline), stamped with the fixed step it was made after. Only the fields of its type are used.
| std::vector<Vector2F> MatchCommandRecord::formation |
Outfield slot positions in lineup coordinates (FORMATION).
| bool MatchCommandRecord::homeTeam = true |
| PlayerID MatchCommandRecord::incoming = 0 |
Bench player coming on (SUBSTITUTION).
| MatchShout MatchCommandRecord::shout = MatchShout::ENCOURAGE |
| std::optional<std::size_t> MatchCommandRecord::slot |
Target slot (MOVE_TO_SLOT, optional for SUBSTITUTION).
| std::uint64_t MatchCommandRecord::step = 0 |
Value of MatchEngine::getSimulatedSteps() when the change was made.
| Strategy MatchCommandRecord::strategy |
| int MatchCommandRecord::talkHalf = 1 |
Half (1 or 2) and modifier of a TEAM_TALK.
| float MatchCommandRecord::talkModifier = 0.0f |
| MatchCommandType MatchCommandRecord::type = MatchCommandType::STRATEGY |