OpenTTD Source 20241224-master-gf74b0cf984
Industry::ProducedCargo Struct Reference

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.
 

Detailed Description

Definition at line 78 of file industry.h.

Field Documentation

◆ cargo

◆ history

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().

◆ rate

uint8_t Industry::ProducedCargo::rate

Production rate.

Definition at line 81 of file industry.h.

Referenced by DoCreateNewIndustry(), and IndustriesScopeResolver::GetVariable().

◆ waiting

uint16_t Industry::ProducedCargo::waiting

Amount of cargo produced.

Definition at line 80 of file industry.h.

Referenced by IndustriesScopeResolver::GetVariable().


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