Player12
An open source football management simulator
Loading...
Searching...
No Matches
MatchRules::Knockout Struct Reference

#include <match_rules.h>

Public Attributes

bool required = false
 
int homeAggregate = 0
 
int awayAggregate = 0
 
bool extraTime = true
 

Detailed Description

How a level match is settled. League matches (the default) may end drawn; a knockout match (or the second leg of a tie) that is level, counting the goals of earlier legs, goes to extra time and then to penalties.

Member Data Documentation

◆ awayAggregate

int MatchRules::Knockout::awayAggregate = 0

◆ extraTime

bool MatchRules::Knockout::extraTime = true

Two halves of extra time before the shootout.

◆ homeAggregate

int MatchRules::Knockout::homeAggregate = 0

Goals scored in earlier legs by this match's home and away sides.

◆ required

bool MatchRules::Knockout::required = false

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