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

#include <match_scheduler.h>

Public Attributes

uint8_t home_goals = 0
 
uint8_t away_goals = 0
 
bool extra_time = false
 
std::optional< std::pair< uint8_t, uint8_t > > penalties
 
std::optional< bool > tie_winner_home
 
MatchReport report
 
std::vector< PlayerMatchConsequence > consequences
 

Detailed Description

Final score, engine summary and physical outcome of one match.

Member Data Documentation

◆ away_goals

uint8_t MatchSimulationResult::away_goals = 0

◆ consequences

std::vector<PlayerMatchConsequence> MatchSimulationResult::consequences

◆ extra_time

bool MatchSimulationResult::extra_time = false

◆ home_goals

uint8_t MatchSimulationResult::home_goals = 0

◆ penalties

std::optional<std::pair<uint8_t, uint8_t> > MatchSimulationResult::penalties

◆ report

MatchReport MatchSimulationResult::report

◆ tie_winner_home

std::optional<bool> MatchSimulationResult::tie_winner_home

Winner of a knockout tie as the engine decided it (true = home side); empty for league matches and for ties left level (an abandoned match).


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