Creates a list of the locations of the depots (and hangars) of which you are the owner. More...
#include <script_depotlist.hpp>
Public Member Functions | |
ScriptDepotList (ScriptTile::TransportType transport_type) |
Creates a list of the locations of the depots (and hangars) of which you are the owner.
ai game
Definition at line 23 of file script_depotlist.hpp.
ScriptDepotList::ScriptDepotList | ( | ScriptTile::TransportType | transport_type | ) |
transport_type | The type of transport to make a list of depots for. |
Definition at line 17 of file script_depotlist.cpp.
References ScriptList::AddItem(), ScriptObject::GetCompany(), GetTileOwner(), IsTileType(), OWNER_DEITY, ScriptTile::TRANSPORT_AIR, ScriptTile::TRANSPORT_RAIL, ScriptTile::TRANSPORT_ROAD, and ScriptTile::TRANSPORT_WATER.