OpenTTD Source: GoodsEntry::GoodsEntryData Struct Reference

OpenTTD Source 15.0-RC2

Public Member Functions | Data Fields
GoodsEntry::GoodsEntryData Struct Reference

## Public Member Functions
bool | IsEmpty () const

## Data Fields
StationCargoList | cargo {}
| The cargo packets of cargo waiting in this station.
FlowStatMap | flows {}
| Planned flows through this station.

## Detailed Description

Definition at line 212 of file station_base.h.

## Member Function Documentation

## ◆ IsEmpty()

bool GoodsEntry::GoodsEntryData::IsEmpty | ( |  | ) | const
| inline

Definition at line 216 of file station_base.h.

## Field Documentation

## ◆ cargo

StationCargoList GoodsEntry::GoodsEntryData::cargo {}

The cargo packets of cargo waiting in this station.

Definition at line 213 of file station_base.h.

Referenced by StationViewWindow::BuildCargoList(), StationViewWindow::DrawEntries(), LoadUnloadVehicle(), RerouteCargo(), StationResolverObject::ResolveReal(), SwapPackets(), TruncateCargo(), and UpdateStationRating().

## ◆ flows

FlowStatMap GoodsEntry::GoodsEntryData::flows {}

Planned flows through this station.

Definition at line 214 of file station_base.h.

Referenced by LinkGraphOverlay::AddLinks(), StationViewWindow::BuildCargoList(), DeleteStaleLinks(), StationViewWindow::EstimateDestinations(), GoodsEntry::GetVia(), GoodsEntry::GetVia(), VehicleCargoList::Stage(), and LinkGraphJob::~LinkGraphJob().

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

- src/station_base.h