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

Team totals of a finished match. More...

#include <match_report.h>

Public Attributes

uint16_t shots = 0
 
uint16_t shots_on_target = 0
 
uint16_t corners = 0
 
uint16_t fouls = 0
 
uint16_t yellow_cards = 0
 
uint16_t red_cards = 0
 
uint16_t offsides = 0
 
uint16_t saves = 0
 
uint16_t passes_attempted = 0
 
uint16_t passes_completed = 0
 
float possession = 50.0f
 
float expected_goals = 0.0f
 
bool set_pieces_known = false
 
uint16_t set_piece_shots = 0
 
uint16_t set_piece_goals = 0
 

Detailed Description

Team totals of a finished match.

Member Data Documentation

◆ corners

uint16_t TeamMatchStats::corners = 0

◆ expected_goals

float TeamMatchStats::expected_goals = 0.0f

◆ fouls

uint16_t TeamMatchStats::fouls = 0

◆ offsides

uint16_t TeamMatchStats::offsides = 0

◆ passes_attempted

uint16_t TeamMatchStats::passes_attempted = 0

◆ passes_completed

uint16_t TeamMatchStats::passes_completed = 0

◆ possession

float TeamMatchStats::possession = 50.0f

◆ red_cards

uint16_t TeamMatchStats::red_cards = 0

◆ saves

uint16_t TeamMatchStats::saves = 0

◆ set_piece_goals

uint16_t TeamMatchStats::set_piece_goals = 0

◆ set_piece_shots

uint16_t TeamMatchStats::set_piece_shots = 0

◆ set_pieces_known

bool TeamMatchStats::set_pieces_known = false

Shots and goals from set pieces (penalties included); reports saved before they were recorded leave set_pieces_known false.

◆ shots

uint16_t TeamMatchStats::shots = 0

◆ shots_on_target

uint16_t TeamMatchStats::shots_on_target = 0

◆ yellow_cards

uint16_t TeamMatchStats::yellow_cards = 0

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