OpenTTD Source: ReserveCargoAction Struct Reference

OpenTTD Source 15.0-RC2

Public Member Functions | Data Fields
ReserveCargoAction Struct Reference

## Public Member Functions
| ReserveCargoAction (Station *st, std::span< const StationID > next_station)
bool | operator() (Vehicle *v)

## Data Fields
Station * | st
std::span< const StationID > | next_station

## Detailed Description

Definition at line 1540 of file economy.cpp.

## Constructor & Destructor Documentation

## ◆ ReserveCargoAction()

ReserveCargoAction::ReserveCargoAction | ( | Station * | st,
|  | std::span< const StationID > | next_station
| ) |  |
| inline

Definition at line 1544 of file economy.cpp.

## Member Function Documentation

## ◆ operator()()

bool ReserveCargoAction::operator() | ( | Vehicle * | v | ) |
| inline

Definition at line 1547 of file economy.cpp.

## Field Documentation

## ◆ next_station

std::span<const StationID> ReserveCargoAction::next_station

Definition at line 1542 of file economy.cpp.

## ◆ st

Station* ReserveCargoAction::st

Definition at line 1541 of file economy.cpp.

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

- src/economy.cpp