OpenTTD Source 20260208-master-g43af8e94d0
ReserveCargoAction Struct Reference

Public Member Functions

 ReserveCargoAction (Station *st, std::span< const StationID > next_station)
bool operator() (Vehicle *v)

Data Fields

Stationst
std::span< const StationID > next_station

Detailed Description

Definition at line 1533 of file economy.cpp.

Constructor & Destructor Documentation

◆ ReserveCargoAction()

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

Definition at line 1537 of file economy.cpp.

Member Function Documentation

◆ operator()()

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

Definition at line 1540 of file economy.cpp.

Field Documentation

◆ next_station

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

Definition at line 1535 of file economy.cpp.

◆ st

Station* ReserveCargoAction::st

Definition at line 1534 of file economy.cpp.


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