|
OpenTTD Source 20261129-master-g72a8bdc861
|
Storage for station cargo history. More...
#include <station_base.h>
Data Fields | |
| HistoryData< CargoHistory > | history {} |
| Historical cargo data. | |
| uint32_t | accumulated_waiting = 0 |
| Accumulated waiting over the last period. | |
| uint32_t | supply = 0 |
| Cargo supplied over the last period. | |
| uint32_t | lost = 0 |
| Cargo lost over the last period. | |
| uint32_t | accepted = 0 |
| Cargo accepted over the last period. | |
Storage for station cargo history.
Definition at line 235 of file station_base.h.
| uint32_t GoodsEntry::CargoHistoryData::accepted = 0 |
Cargo accepted over the last period.
Definition at line 241 of file station_base.h.
| uint32_t GoodsEntry::CargoHistoryData::accumulated_waiting = 0 |
Accumulated waiting over the last period.
Definition at line 238 of file station_base.h.
| HistoryData<CargoHistory> GoodsEntry::CargoHistoryData::history {} |
Historical cargo data.
Definition at line 236 of file station_base.h.
Referenced by SlStationCargoHistory::Load(), SlStationCargoHistory::Save(), and StationGraphWindow::UpdateStatistics().
| uint32_t GoodsEntry::CargoHistoryData::lost = 0 |
Cargo lost over the last period.
Definition at line 240 of file station_base.h.
Referenced by MaybeCrashAirplane(), and UpdateStationRating().
| uint32_t GoodsEntry::CargoHistoryData::supply = 0 |
Cargo supplied over the last period.
Definition at line 239 of file station_base.h.