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

#include <match_engine.h>

Public Attributes

int homeShots = 0
 
int awayShots = 0
 
int homeOnTarget = 0
 
int awayOnTarget = 0
 
int homeCorners = 0
 
int awayCorners = 0
 
int homeFouls = 0
 
int awayFouls = 0
 
int homeSaves = 0
 
int awaySaves = 0
 
int homePassesAttempted = 0
 
int awayPassesAttempted = 0
 
int homePassesCompleted = 0
 
int awayPassesCompleted = 0
 
int homeProgressivePasses = 0
 
int awayProgressivePasses = 0
 
int homeThroughBalls = 0
 
int awayThroughBalls = 0
 
int homeCrosses = 0
 
int awayCrosses = 0
 
int homeCutbacks = 0
 
int awayCutbacks = 0
 
int homeSwitchesOfPlay = 0
 
int awaySwitchesOfPlay = 0
 
int homeTackles = 0
 
int awayTackles = 0
 
int homeOffsides = 0
 
int awayOffsides = 0
 
int homeYellowCards = 0
 
int awayYellowCards = 0
 
int homeRedCards = 0
 
int awayRedCards = 0
 
int homeTackleAttempts = 0
 
int awayTackleAttempts = 0
 
int homeInjuries = 0
 
int awayInjuries = 0
 
int homePenalties = 0
 
int awayPenalties = 0
 
int homeSubstitutions = 0
 
int awaySubstitutions = 0
 
int homeAerialDuelsWon = 0
 
int awayAerialDuelsWon = 0
 
int homeHeadedShots = 0
 
int awayHeadedShots = 0
 
int homeSetPieceShots = 0
 
int awaySetPieceShots = 0
 
int homeAdvantagesPlayed = 0
 
int awayAdvantagesPlayed = 0
 
int homeShotsInsideBox = 0
 
int awayShotsInsideBox = 0
 
int homeHeadedGoals = 0
 
int awayHeadedGoals = 0
 
int homeSetPieceGoals = 0
 
int awaySetPieceGoals = 0
 
int homePenaltyGoals = 0
 
int awayPenaltyGoals = 0
 
float homePossession = MatchTuning::Statistics::EVEN_POSSESSION_PERCENT
 
float awayPossession = MatchTuning::Statistics::EVEN_POSSESSION_PERCENT
 
float homeShotXG = 0.0f
 
float awayShotXG = 0.0f
 
float ballInPlayMinutes = 0.0f
 

Member Data Documentation

◆ awayAdvantagesPlayed

int MatchStats::awayAdvantagesPlayed = 0

◆ awayAerialDuelsWon

int MatchStats::awayAerialDuelsWon = 0

◆ awayCorners

int MatchStats::awayCorners = 0

◆ awayCrosses

int MatchStats::awayCrosses = 0

◆ awayCutbacks

int MatchStats::awayCutbacks = 0

◆ awayFouls

int MatchStats::awayFouls = 0

◆ awayHeadedGoals

int MatchStats::awayHeadedGoals = 0

◆ awayHeadedShots

int MatchStats::awayHeadedShots = 0

◆ awayInjuries

int MatchStats::awayInjuries = 0

◆ awayOffsides

int MatchStats::awayOffsides = 0

◆ awayOnTarget

int MatchStats::awayOnTarget = 0

◆ awayPassesAttempted

int MatchStats::awayPassesAttempted = 0

◆ awayPassesCompleted

int MatchStats::awayPassesCompleted = 0

◆ awayPenalties

int MatchStats::awayPenalties = 0

◆ awayPenaltyGoals

int MatchStats::awayPenaltyGoals = 0

◆ awayPossession

float MatchStats::awayPossession = MatchTuning::Statistics::EVEN_POSSESSION_PERCENT

◆ awayProgressivePasses

int MatchStats::awayProgressivePasses = 0

◆ awayRedCards

int MatchStats::awayRedCards = 0

◆ awaySaves

int MatchStats::awaySaves = 0

◆ awaySetPieceGoals

int MatchStats::awaySetPieceGoals = 0

◆ awaySetPieceShots

int MatchStats::awaySetPieceShots = 0

◆ awayShots

int MatchStats::awayShots = 0

◆ awayShotsInsideBox

int MatchStats::awayShotsInsideBox = 0

◆ awayShotXG

float MatchStats::awayShotXG = 0.0f

◆ awaySubstitutions

int MatchStats::awaySubstitutions = 0

◆ awaySwitchesOfPlay

int MatchStats::awaySwitchesOfPlay = 0

◆ awayTackleAttempts

int MatchStats::awayTackleAttempts = 0

◆ awayTackles

int MatchStats::awayTackles = 0

◆ awayThroughBalls

int MatchStats::awayThroughBalls = 0

◆ awayYellowCards

int MatchStats::awayYellowCards = 0

◆ ballInPlayMinutes

float MatchStats::ballInPlayMinutes = 0.0f

Clock minutes with the ball in play (restarts excluded).

◆ homeAdvantagesPlayed

int MatchStats::homeAdvantagesPlayed = 0

◆ homeAerialDuelsWon

int MatchStats::homeAerialDuelsWon = 0

◆ homeCorners

int MatchStats::homeCorners = 0

◆ homeCrosses

int MatchStats::homeCrosses = 0

◆ homeCutbacks

int MatchStats::homeCutbacks = 0

◆ homeFouls

int MatchStats::homeFouls = 0

◆ homeHeadedGoals

int MatchStats::homeHeadedGoals = 0

◆ homeHeadedShots

int MatchStats::homeHeadedShots = 0

◆ homeInjuries

int MatchStats::homeInjuries = 0

◆ homeOffsides

int MatchStats::homeOffsides = 0

◆ homeOnTarget

int MatchStats::homeOnTarget = 0

◆ homePassesAttempted

int MatchStats::homePassesAttempted = 0

◆ homePassesCompleted

int MatchStats::homePassesCompleted = 0

◆ homePenalties

int MatchStats::homePenalties = 0

◆ homePenaltyGoals

int MatchStats::homePenaltyGoals = 0

◆ homePossession

float MatchStats::homePossession = MatchTuning::Statistics::EVEN_POSSESSION_PERCENT

◆ homeProgressivePasses

int MatchStats::homeProgressivePasses = 0

◆ homeRedCards

int MatchStats::homeRedCards = 0

◆ homeSaves

int MatchStats::homeSaves = 0

◆ homeSetPieceGoals

int MatchStats::homeSetPieceGoals = 0

◆ homeSetPieceShots

int MatchStats::homeSetPieceShots = 0

◆ homeShots

int MatchStats::homeShots = 0

◆ homeShotsInsideBox

int MatchStats::homeShotsInsideBox = 0

◆ homeShotXG

float MatchStats::homeShotXG = 0.0f

◆ homeSubstitutions

int MatchStats::homeSubstitutions = 0

◆ homeSwitchesOfPlay

int MatchStats::homeSwitchesOfPlay = 0

◆ homeTackleAttempts

int MatchStats::homeTackleAttempts = 0

◆ homeTackles

int MatchStats::homeTackles = 0

◆ homeThroughBalls

int MatchStats::homeThroughBalls = 0

◆ homeYellowCards

int MatchStats::homeYellowCards = 0

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