Simutrans-Squirrel-API OTRP v63_4
Loading...
Searching...
No Matches
depot_x Class Reference
Inheritance diagram for depot_x:
Collaboration diagram for depot_x:

Public Member Functions

void append_vehicle (player_x pl, convoy_x cnv, vehicle_desc_x desc)
void start_convoy (player_x, convoy_x)
void start_all_convoys (player_x)
array< convoy_x > get_convoy_list ()
Public Member Functions inherited from building_x
factory_x get_factory ()
city_x get_city ()
bool is_townhall ()
bool is_headquarter ()
bool is_monument ()
integer get_passenger_level ()
integer get_mail_level ()
building_desc_x get_desc ()
array< tile_x > get_tile_list ()
bool is_same_building (building_x)
Public Member Functions inherited from map_object_x
 map_object_x (integer x, integer y, integer z, map_objects type)
bool is_valid ()
player_x get_owner ()
string get_name ()
way_types get_waytype ()
coord3d get_pos ()
string is_removable (player_x)
map_objects get_type ()
void mark ()
void unmark ()
bool is_marked ()

Static Public Member Functions

static array< depot_x > get_depot_list (player_x pl, way_types wt)

Detailed Description

Class to access depots. Main purpose is the manipulation of convoys in depots.

Definition at line 127 of file api_map_objects.cc.

Member Function Documentation

◆ get_convoy_list()

array< convoy_x > depot_x::get_convoy_list ( )
Returns
list of convoys sitting in this depot

◆ get_depot_list()

array< depot_x > depot_x::get_depot_list ( player_x pl,
way_types wt )
static

List of all depots of player pl of way-type wt

Parameters
pl
wt
Returns
depot list of player

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