Creates a list of vehicles that have orders to a given station. More...
#include <ai_vehiclelist.hpp>
Public Member Functions | |
AIVehicleList_Station (StationID station_id) | |
Static Public Member Functions | |
static const char * | GetClassName () |
Get the name of this class to identify it towards squirrel. |
Creates a list of vehicles that have orders to a given station.
Definition at line 33 of file ai_vehiclelist.hpp.
AIVehicleList_Station::AIVehicleList_Station | ( | StationID | station_id | ) |
station_id | The station to get the list of vehicles from, which have orders to it. |
Definition at line 29 of file ai_vehiclelist.cpp.
References _current_company, AIList::AddItem(), Order::GetDestination(), Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tcache, Tzero >::PoolItem< Tpool >::index, Vehicle::IsPrimaryVehicle(), Order::IsType(), AIBaseStation::IsValidBaseStation(), and Vehicle::owner.
static const char* AIVehicleList_Station::GetClassName | ( | ) | [inline, static] |
Get the name of this class to identify it towards squirrel.
Reimplemented from AIList.
Definition at line 36 of file ai_vehiclelist.hpp.