|
Player12
An open source football management simulator
|
A facility project approved by the board. More...
#include <facility_projects.h>
Public Member Functions | |
| float | progress (const GameDateValue &today) const |
Public Attributes | |
| std::uint32_t | id = 0 |
| TeamID | team_id = 0 |
| FacilityProjectType | type = FacilityProjectType::TrainingGround |
| GameDateValue | start |
| GameDateValue | end |
| std::int64_t | cost = 0 |
| std::int64_t | paid = 0 |
| std::uint32_t | amount = 0 |
| std::uint32_t | disruption = 0 |
| bool | completed = false |
A facility project approved by the board.
| float FacilityProject::progress | ( | const GameDateValue & | today | ) | const |
Share of the works done on today, in [0, 1].
| std::uint32_t FacilityProject::amount = 0 |
| bool FacilityProject::completed = false |
| std::int64_t FacilityProject::cost = 0 |
| std::uint32_t FacilityProject::disruption = 0 |
| GameDateValue FacilityProject::end |
Completion day.
| std::uint32_t FacilityProject::id = 0 |
| std::int64_t FacilityProject::paid = 0 |
| GameDateValue FacilityProject::start |
| TeamID FacilityProject::team_id = 0 |
| FacilityProjectType FacilityProject::type = FacilityProjectType::TrainingGround |