OpenTTD Source 20261129-master-g72a8bdc861
GoodsEntry::CargoHistory Struct Reference

Individual data point for station cargo history. More...

#include <station_base.h>

Data Fields

uint16_t rx_accepted
 Compressed cargo accepted.
uint16_t rx_waiting
 Compressed cargo waiting.
uint16_t rx_supply
 Compressed cargo supply.
uint16_t rx_lost
 Compressed cargo lost.
uint8_t rating
 Cargo rating.

Detailed Description

Individual data point for station cargo history.

Definition at line 226 of file station_base.h.

Field Documentation

◆ rating

uint8_t GoodsEntry::CargoHistory::rating

Cargo rating.

Definition at line 231 of file station_base.h.

◆ rx_accepted

uint16_t GoodsEntry::CargoHistory::rx_accepted

Compressed cargo accepted.

Definition at line 227 of file station_base.h.

Referenced by StationGraphWindow::UpdateStatistics().

◆ rx_lost

uint16_t GoodsEntry::CargoHistory::rx_lost

Compressed cargo lost.

Definition at line 230 of file station_base.h.

Referenced by StationGraphWindow::UpdateStatistics().

◆ rx_supply

uint16_t GoodsEntry::CargoHistory::rx_supply

Compressed cargo supply.

Definition at line 229 of file station_base.h.

Referenced by StationGraphWindow::UpdateStatistics().

◆ rx_waiting

uint16_t GoodsEntry::CargoHistory::rx_waiting

Compressed cargo waiting.

Definition at line 228 of file station_base.h.

Referenced by StationGraphWindow::UpdateStatistics().


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