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

What the report knows about one opposing player. More...

#include <opposition_report.h>

Public Attributes

PlayerID player = 0
 
std::string name
 
PlayerRole role = PlayerRole::UNKNOWN
 
bool likely_starter = false
 
float estimate = -1.0f
 
float knowledge = 0.0f
 
bool right_footed = true
 
int appearances = 0
 
int goals = 0
 
int assists = 0
 
float average_rating = 0.0f
 

Detailed Description

What the report knows about one opposing player.

Member Data Documentation

◆ appearances

int OppositionPlayer::appearances = 0

◆ assists

int OppositionPlayer::assists = 0

◆ average_rating

float OppositionPlayer::average_rating = 0.0f

0 without rated matches.

◆ estimate

float OppositionPlayer::estimate = -1.0f

Scouted overall estimate; < 0 when the club has not seen him.

◆ goals

int OppositionPlayer::goals = 0

◆ knowledge

float OppositionPlayer::knowledge = 0.0f

Scouting knowledge 0-100.

◆ likely_starter

bool OppositionPlayer::likely_starter = false

◆ name

std::string OppositionPlayer::name

◆ player

PlayerID OppositionPlayer::player = 0

◆ right_footed

bool OppositionPlayer::right_footed = true

◆ role

PlayerRole OppositionPlayer::role = PlayerRole::UNKNOWN

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