Creates a list of stations which the vehicle has in its orders. More...
#include <script_stationlist.hpp>
Public Member Functions | |
ScriptStationList_Vehicle (VehicleID vehicle_id) |
Creates a list of stations which the vehicle has in its orders.
ai
Definition at line 36 of file script_stationlist.hpp.
ScriptStationList_Vehicle::ScriptStationList_Vehicle | ( | VehicleID | vehicle_id | ) |
vehicle_id | The vehicle to get the list of stations he has in its orders from. |
Definition at line 27 of file script_stationlist.cpp.
References ScriptList::AddItem(), Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem<&_vehicle_pool >::Get(), Vehicle::GetFirstOrder(), ScriptVehicle::IsValidVehicle(), and Order::next.