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

Pass and shot involvement of a managed player in one match. More...

#include <data_hub.h>

Public Attributes

PlayerID player = 0
 
std::uint8_t minutes = 0
 
std::uint16_t passes_attempted = 0
 
std::uint16_t passes_completed = 0
 
std::uint16_t key_passes = 0
 
std::uint16_t shots = 0
 
float xg = 0.0f
 
std::uint16_t tackles_won = 0
 
std::uint16_t interceptions = 0
 

Detailed Description

Pass and shot involvement of a managed player in one match.

Member Data Documentation

◆ interceptions

std::uint16_t PlayerMatchSnapshot::interceptions = 0

◆ key_passes

std::uint16_t PlayerMatchSnapshot::key_passes = 0

◆ minutes

std::uint8_t PlayerMatchSnapshot::minutes = 0

◆ passes_attempted

std::uint16_t PlayerMatchSnapshot::passes_attempted = 0

◆ passes_completed

std::uint16_t PlayerMatchSnapshot::passes_completed = 0

◆ player

PlayerID PlayerMatchSnapshot::player = 0

◆ shots

std::uint16_t PlayerMatchSnapshot::shots = 0

◆ tackles_won

std::uint16_t PlayerMatchSnapshot::tackles_won = 0

◆ xg

float PlayerMatchSnapshot::xg = 0.0f

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