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

Everything the UI may show about a player's ability. More...

#include <scouting.h>

Public Attributes

PlayerID player_id = 0
 
bool own = false
 
std::uint8_t knowledge = 0
 
float overall = 0.0f
 
float overall_low = 0.0f
 
float overall_high = 0.0f
 
float potential_low = 0.0f
 
float potential_high = 0.0f
 
std::int64_t estimated_value = 0
 
std::vector< ScoutedAttribute > attributes
 
std::optional< std::uint32_t > latest_report_id
 

Detailed Description

Everything the UI may show about a player's ability.

Contains estimates only: for other clubs' players the true attributes, overall and potential are never exposed. Own players are known exactly (except their potential, which is always a judgement).

Member Data Documentation

◆ attributes

std::vector<ScoutedAttribute> ScoutedPlayerView::attributes

In stats-map order.

◆ estimated_value

std::int64_t ScoutedPlayerView::estimated_value = 0

◆ knowledge

std::uint8_t ScoutedPlayerView::knowledge = 0

0-100.

◆ latest_report_id

std::optional<std::uint32_t> ScoutedPlayerView::latest_report_id

◆ overall

float ScoutedPlayerView::overall = 0.0f

◆ overall_high

float ScoutedPlayerView::overall_high = 0.0f

◆ overall_low

float ScoutedPlayerView::overall_low = 0.0f

◆ own

bool ScoutedPlayerView::own = false

◆ player_id

PlayerID ScoutedPlayerView::player_id = 0

◆ potential_high

float ScoutedPlayerView::potential_high = 0.0f

◆ potential_low

float ScoutedPlayerView::potential_low = 0.0f

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