Player12
An open source football management simulator
Loading...
Searching...
No Matches
Standings::RaceNeed Struct Reference

#include <standings_race.h>

Public Types

enum class  Kind : uint8_t { IN_HANDS , NEEDS_HELP }
 

Public Attributes

Race race = Race::TITLE
 
Kind kind = Kind::IN_HANDS
 
uint16_t points = 0
 
uint16_t games_left = 0
 
TeamID next_opponent = 0
 
bool next_at_home = false
 

Detailed Description

What a club needs from its own remaining games in one race.

Member Enumeration Documentation

◆ Kind

enum class Standings::RaceNeed::Kind : uint8_t
strong
Enumerator
IN_HANDS 

points from its own games guarantee the place.

NEEDS_HELP 

Still possible, but only with help from elsewhere.

Member Data Documentation

◆ games_left

uint16_t Standings::RaceNeed::games_left = 0

League games the club still plays.

◆ kind

Kind Standings::RaceNeed::kind = Kind::IN_HANDS

◆ next_at_home

bool Standings::RaceNeed::next_at_home = false

◆ next_opponent

TeamID Standings::RaceNeed::next_opponent = 0

◆ points

uint16_t Standings::RaceNeed::points = 0

Minimum points that guarantee the place.

◆ race

Race Standings::RaceNeed::race = Race::TITLE

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