Public Member Functions

ScriptVehicleList_Station Class Reference
[Classes that create a list of items.]

Creates a list of vehicles that have orders to a given station. More...

#include <script_vehiclelist.hpp>

Inheritance diagram for ScriptVehicleList_Station:
ScriptList ScriptObject SimpleCountedObject

Public Member Functions

 ScriptVehicleList_Station (StationID station_id)

Detailed Description

Creates a list of vehicles that have orders to a given station.

ai game

Definition at line 33 of file script_vehiclelist.hpp.


Constructor & Destructor Documentation

ScriptVehicleList_Station::ScriptVehicleList_Station ( StationID  station_id  ) 
Parameters:
station_id The station to get the list of vehicles from, which have orders to it.
Precondition:
ScriptBaseStation::IsValidBaseStation(station_id)

Definition at line 28 of file script_vehiclelist.cpp.

References ScriptList::AddItem(), FOR_ALL_VEHICLES, ScriptObject::GetCompany(), Order::GetDestination(), Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem< Tpool >::index, Vehicle::IsPrimaryVehicle(), Order::IsType(), ScriptBaseStation::IsValidBaseStation(), Vehicle::owner, and OWNER_DEITY.


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