CargoList that is used for stations. More...
#include <cargopacket.h>
Static Public Member Functions | |
static bool | AreMergable (const CargoPacket *cp1, const CargoPacket *cp2) |
Are two the two CargoPackets mergeable in the context of a list of CargoPackets for a Vehicle? | |
Friends | |
class | CargoList< StationCargoList > |
The super class ought to know what it's doing. | |
struct SaveLoad * | GetGoodsDesc () |
The stations, via GoodsEntry, have a CargoList. |
CargoList that is used for stations.
Definition at line 307 of file cargopacket.h.
static bool StationCargoList::AreMergable | ( | const CargoPacket * | cp1, | |
const CargoPacket * | cp2 | |||
) | [inline, static] |
Are two the two CargoPackets mergeable in the context of a list of CargoPackets for a Vehicle?
cp1 | First CargoPacket. | |
cp2 | Second CargoPacket. |
Definition at line 321 of file cargopacket.h.
References CargoPacket::days_in_transit, CargoPacket::source_id, CargoPacket::source_type, and CargoPacket::source_xy.
friend class CargoList< StationCargoList > [friend] |
The super class ought to know what it's doing.
Definition at line 310 of file cargopacket.h.
struct SaveLoad* GetGoodsDesc | ( | ) | [friend] |
The stations, via GoodsEntry, have a CargoList.
Definition at line 244 of file station_sl.cpp.