OpenTTD: CargoSummaryItem Struct Reference

OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- Data Structures
- Class Hierarchy
- Data Fields

Public Member Functions | Data Fields
CargoSummaryItem Struct Reference

Helper struct for the cargo details information. More...

## Public Member Functions
bool | operator!= (const CargoSummaryItem &other) const
| Used by CargoSummary::Find() and similar functions.

## Data Fields
CargoID | cargo
| The cargo that is carried.
StringID | subtype
| STR_EMPTY if none.
uint | capacity
| Amount that can be carried.
uint | amount
| Amount that is carried.
StationID | source
| One of the source stations.

## Detailed Description

Helper struct for the cargo details information.

Definition at line 165 of file train_gui.cpp.

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

- src/train_gui.cpp