OpenTTD Source 20251116-master-g21329071df
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 StationIDnext_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: