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

#include <match_engine.h>

Public Attributes

MatchEventType type = MatchEventType::INFO
 
double startSeconds = 0.0
 
double triggerSeconds = 0.0
 
double endSeconds = 0.0
 
float triggerMinute = 0.0f
 

Detailed Description

A stretch of play worth showing, in simulated seconds since kick-off (see MatchEngine::getSimulatedSeconds()): the build-up before a trigger event (shot, goal, penalty, card) and a short aftermath.

Member Data Documentation

◆ endSeconds

double MatchHighlight::endSeconds = 0.0

◆ startSeconds

double MatchHighlight::startSeconds = 0.0

◆ triggerMinute

float MatchHighlight::triggerMinute = 0.0f

Match clock minute of the (most important) trigger.

◆ triggerSeconds

double MatchHighlight::triggerSeconds = 0.0

◆ type

MatchEventType MatchHighlight::type = MatchEventType::INFO

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