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

League results of a club against expectation. More...

#include <awards.h>

Public Member Functions

float overPerformance () const
 

Public Attributes

TeamID team_id = 0
 
LeagueID league_id = 0
 
std::uint16_t matches = 0
 
float points = 0.0f
 
float expected_points = 0.0f
 
std::uint16_t goals_for = 0
 
std::uint16_t goals_against = 0
 

Detailed Description

League results of a club against expectation.

Member Function Documentation

◆ overPerformance()

float AwardClubTally::overPerformance ( ) const
inline

Member Data Documentation

◆ expected_points

float AwardClubTally::expected_points = 0.0f

◆ goals_against

std::uint16_t AwardClubTally::goals_against = 0

◆ goals_for

std::uint16_t AwardClubTally::goals_for = 0

◆ league_id

LeagueID AwardClubTally::league_id = 0

◆ matches

std::uint16_t AwardClubTally::matches = 0

◆ points

float AwardClubTally::points = 0.0f

◆ team_id

TeamID AwardClubTally::team_id = 0

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