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

Tracked numbers of one stats entry (one player's stint). More...

#include <match_tracking.h>

Public Attributes

std::array< std::uint16_t, MatchTracking::CELLS > touches {}
 
std::uint16_t touch_count = 0
 
float sum_x = 0.0f
 
float sum_y = 0.0f
 
std::uint16_t progressive_passes = 0
 
std::uint16_t pressures = 0
 
float expected_assists = 0.0f
 
double pressure_spell = -1.0
 

Detailed Description

Tracked numbers of one stats entry (one player's stint).

Member Data Documentation

◆ expected_assists

float TrackedPlayer::expected_assists = 0.0f

xG of the shots his passes created.

◆ pressure_spell

double TrackedPlayer::pressure_spell = -1.0

Possession spell of his last pressure (counts once per spell).

◆ pressures

std::uint16_t TrackedPlayer::pressures = 0

◆ progressive_passes

std::uint16_t TrackedPlayer::progressive_passes = 0

◆ sum_x

float TrackedPlayer::sum_x = 0.0f

Sums of the touch positions (attacking frame).

◆ sum_y

float TrackedPlayer::sum_y = 0.0f

◆ touch_count

std::uint16_t TrackedPlayer::touch_count = 0

◆ touches

std::array<std::uint16_t, MatchTracking::CELLS> TrackedPlayer::touches {}

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