OpenTTD
Public Member Functions
CargoReservation Class Reference

Action of reserving cargo from a station to be loaded onto a vehicle. More...

#include <cargoaction.h>

Inheritance diagram for CargoReservation:
CargoLoad CargoMovement< StationCargoList, VehicleCargoList >

Public Member Functions

 CargoReservation (StationCargoList *source, VehicleCargoList *destination, uint max_move, TileIndex load_place)
bool operator() (CargoPacket *cp)
 Reserves some cargo for loading.
- Public Member Functions inherited from CargoLoad
 CargoLoad (StationCargoList *source, VehicleCargoList *destination, uint max_move, TileIndex load_place)
- Public Member Functions inherited from CargoMovement< StationCargoList, VehicleCargoList >
 CargoMovement (StationCargoList *source, VehicleCargoList *destination, uint max_move)
uint MaxMove ()
 Returns how much more cargo can be moved with this action.

Additional Inherited Members

- Protected Member Functions inherited from CargoMovement< StationCargoList, VehicleCargoList >
CargoPacketPreprocess (CargoPacket *cp)
- Protected Attributes inherited from CargoLoad
TileIndex load_place
 TileIndex to be saved in the packets' loaded_at_xy.

Detailed Description

Action of reserving cargo from a station to be loaded onto a vehicle.

Definition at line 91 of file cargoaction.h.

Member Function Documentation

bool CargoReservation::operator() ( CargoPacket cp)

The documentation for this class was generated from the following files: