Player12
An open source football management simulator
Loading...
Searching...
No Matches
GameController::ContinueProgress Struct Reference

#include <game_controller.h>

Public Member Functions

float fraction () const
 

Public Attributes

int days_done = 0
 
int days_total = 0
 
uint32_t matches_done = 0
 
uint32_t matches_total = 0
 

Detailed Description

Progress of the running advanceDay() / advanceToNextManagedFixture().

Member Function Documentation

◆ fraction()

float GameController::ContinueProgress::fraction ( ) const

Overall completion in [0, 1]; a day counts once its matches ran.

Member Data Documentation

◆ days_done

int GameController::ContinueProgress::days_done = 0

Days before the one being simulated, out of the days to advance.

◆ days_total

int GameController::ContinueProgress::days_total = 0

◆ matches_done

uint32_t GameController::ContinueProgress::matches_done = 0

Matches simulated / scheduled so far on the day being simulated.

◆ matches_total

uint32_t GameController::ContinueProgress::matches_total = 0

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