Player12
An open source football management simulator
Loading...
Searching...
No Matches
MatchInputRecord Struct Reference

#include <match_engine.h>

Public Attributes

std::uint64_t step = 0
 
PlayerID player = 0
 
MatchPlayerInput input
 
int playHalfMinutes = 0
 

Detailed Description

A controller change, stamped with the fixed step it takes effect on.

Member Data Documentation

◆ input

MatchPlayerInput MatchInputRecord::input

◆ player

PlayerID MatchInputRecord::player = 0

Controlled player from this step; 0 hands the player back to the AI.

◆ playHalfMinutes

int MatchInputRecord::playHalfMinutes = 0

Real minutes per half in Play; 0 preserves the watch clock.

◆ step

std::uint64_t MatchInputRecord::step = 0

Fixed step (see MatchEngine::getSimulatedSteps()) that applies it.


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