OpenTTD Source 20241224-master-gf74b0cf984
|
Data Fields | |
CargoID | cargo |
Cargo type. | |
uint16_t | waiting |
Amount of cargo produced. | |
uint8_t | rate |
Production rate. | |
std::array< ProducedHistory, 25 > | history |
History of cargo produced and transported for this month and 24 previous months. | |
Definition at line 78 of file industry.h.
CargoID Industry::ProducedCargo::cargo |
Cargo type.
Definition at line 79 of file industry.h.
Referenced by DoCreateNewIndustry(), Industry::GetCargoProduced(), Industry::GetCargoProduced(), IndustryDirectoryWindow::GetCargoTransportedPercentsIfValid(), and IndustriesScopeResolver::GetVariable().
std::array<ProducedHistory, 25> Industry::ProducedCargo::history |
History of cargo produced and transported for this month and 24 previous months.
Definition at line 82 of file industry.h.
Referenced by ChangeIndustryProduction(), IndustryDirectoryWindow::GetCargoTransportedPercentsIfValid(), and IndustriesScopeResolver::GetVariable().
uint8_t Industry::ProducedCargo::rate |
Production rate.
Definition at line 81 of file industry.h.
Referenced by DoCreateNewIndustry(), and IndustriesScopeResolver::GetVariable().
uint16_t Industry::ProducedCargo::waiting |
Amount of cargo produced.
Definition at line 80 of file industry.h.
Referenced by IndustriesScopeResolver::GetVariable().