# api Directory Reference

## Files
file | ai_abstractlist.cpp [code]
| Implementation of AIAbstractList.

file | ai_abstractlist.hpp [code]
| A list which can keep item/value pairs, which you can walk.

file | ai_accounting.cpp [code]
| Implementation of AIAccounting.

file | ai_accounting.hpp [code]
| Everything to handle AI accounting things.

file | ai_airport.cpp [code]
| Implementation of AIAirport.

file | ai_airport.hpp [code]
| Everything to query and build airports.

file | ai_base.cpp [code]
| Implementation of AIBase.

file | ai_base.hpp [code]
| Everything to query basic things.

file | ai_basestation.cpp [code]
| Implementation of AIBaseStation.

file | ai_basestation.hpp [code]
| Base for stations/waypoint handling.

file | ai_bridge.cpp [code]
| Implementation of AIBridge.

file | ai_bridge.hpp [code]
| Everything to query and build bridges.

file | ai_bridgelist.cpp [code]
| Implementation of AIBridgeList and friends.

file | ai_bridgelist.hpp [code]
| List all the bridges.

file | ai_cargo.cpp [code]
| Implementation of AICargo.

file | ai_cargo.hpp [code]
| Everything to query cargos.

file | ai_cargolist.cpp [code]
| Implementation of AICargoList and friends.

file | ai_cargolist.hpp [code]
| List all the cargos.

file | ai_changelog.hpp [code]
| Lists all changes / additions to the API.

file | ai_company.cpp [code]
| Implementation of AICompany.

file | ai_company.hpp [code]
| Everything to query a company's financials and statistics or build company related buildings.

file | ai_controller.cpp [code]
| Implementation of AIControler.

file | ai_controller.hpp [code]
| The controller of the AI.

file | ai_date.cpp [code]
| Implementation of AIDate.

file | ai_date.hpp [code]
| Everything to query and manipulate date related information.

file | ai_depotlist.cpp [code]
| Implementation of AIDepotList and friends.

file | ai_depotlist.hpp [code]
| List all the depots (you own).

file | ai_engine.cpp [code]
| Implementation of AIEngine.

file | ai_engine.hpp [code]
| Everything to query and build engines.

file | ai_enginelist.cpp [code]
| Implementation of AIEngineList and friends.

file | ai_enginelist.hpp [code]
| List all the engines.

file | ai_error.cpp [code]
| Implementation of AIError.

file | ai_error.hpp [code]
| Everything to query errors.

file | ai_event.cpp [code]
| Implementation of AIEvent.

file | ai_event.hpp [code]
| Everything to handle events from the game.

file | ai_event_types.cpp [code]
| Implementation of all EventTypes.

file | ai_event_types.hpp [code]
| The detailed types of all events.

file | ai_execmode.cpp [code]
| Implementation of AIExecMode.

file | ai_execmode.hpp [code]
| Switch the AI to Execute Mode.

file | ai_gamesettings.cpp [code]
| Implementation of AIGameSettings.

file | ai_gamesettings.hpp [code]
| Everything to read game settings.

file | ai_group.cpp [code]
| Implementation of AIGroup.

file | ai_group.hpp [code]
| Everything to put vehicles into groups.

file | ai_grouplist.cpp [code]
| Implementation of AIGroupList and friends.

file | ai_grouplist.hpp [code]
| List all the groups (you own).

file | ai_industry.cpp [code]
| Implementation of AIIndustry.

file | ai_industry.hpp [code]
| Everything to query and build industries.

file | ai_industrylist.cpp [code]
| Implementation of AIIndustryList and friends.

file | ai_industrylist.hpp [code]
| List all the industries.

file | ai_industrytype.cpp [code]
| Implementation of AIIndustryType.

file | ai_industrytype.hpp [code]
| Everything to query and build industries.

file | ai_industrytypelist.cpp [code]
| Implementation of AIIndustryTypeList.

file | ai_industrytypelist.hpp [code]
| List all available industry types.

file | ai_info_docs.hpp [code]
| Description of the functions an AI can/must provide in AIInfo.

file | ai_list.cpp [code]
| Implementation of AIList.

file | ai_list.hpp [code]
| List custom entries.

file | ai_log.cpp [code]
| Implementation of AILog.

file | ai_log.hpp [code]
| Everything to handle and issue log messages.

file | ai_map.cpp [code]
| Implementation of AIMap.

file | ai_map.hpp [code]
| Everything to query and manipulate map metadata.

file | ai_marine.cpp [code]
| Implementation of AIMarine.

file | ai_marine.hpp [code]
| Everything to query and build marine.

file | ai_object.cpp [code]
| Implementation of AIObject.

file | ai_object.hpp [code]
| Main object, on which all objects depend.

file | ai_order.cpp [code]
| Implementation of AIOrder.

file | ai_order.hpp [code]
| Everything to query and build orders.

file | ai_rail.cpp [code]
| Implementation of AIRail.

file | ai_rail.hpp [code]
| Everything to query and build rails.

file | ai_railtypelist.cpp [code]
| Implementation of AIRailTypeList and friends.

file | ai_railtypelist.hpp [code]
| List all available railtypes.

file | ai_road.cpp [code]
| Implementation of AIRoad.

file | ai_road.hpp [code]
| Everything to query and build roads.

file | ai_sign.cpp [code]
| Implementation of AISign.

file | ai_sign.hpp [code]
| Everything to query and build signs.

file | ai_signlist.cpp [code]
| Implementation of AISignList and friends.

file | ai_signlist.hpp [code]
| List all the signs of your company.

file | ai_station.cpp [code]
| Implementation of AIStation.

file | ai_station.hpp [code]
| Everything to query and build stations.

file | ai_stationlist.cpp [code]
| Implementation of AIStationList and friends.

file | ai_stationlist.hpp [code]
| List all the stations (you own).

file | ai_subsidy.cpp [code]
| Implementation of AISubsidy.

file | ai_subsidy.hpp [code]
| Everything to query subsidies.

file | ai_subsidylist.cpp [code]
| Implementation of AISubsidyList.

file | ai_subsidylist.hpp [code]
| List all the subsidies.

file | ai_testmode.cpp [code]
| Implementation of AITestMode.

file | ai_testmode.hpp [code]
| Switch the AI to Test Mode.

file | ai_tile.cpp [code]
| Implementation of AITile.

file | ai_tile.hpp [code]
| Everything to query and manipulate tiles.

file | ai_tilelist.cpp [code]
| Implementation of AITileList and friends.

file | ai_tilelist.hpp [code]
| List tiles.

file | ai_town.cpp [code]
| Implementation of AITown.

file | ai_town.hpp [code]
| Everything to query towns.

file | ai_townlist.cpp [code]
| Implementation of AITownList and friends.

file | ai_townlist.hpp [code]
| List all the towns.

file | ai_tunnel.cpp [code]
| Implementation of AITunnel.

file | ai_tunnel.hpp [code]
| Everything to query and build tunnels.

file | ai_types.hpp [code]
| Defines all the types of the game, like IDs of various objects.

file | ai_vehicle.cpp [code]
| Implementation of AIVehicle.

file | ai_vehicle.hpp [code]
| Everything to query and build vehicles.

file | ai_vehiclelist.cpp [code]
| Implementation of AIVehicleList and friends.

file | ai_vehiclelist.hpp [code]
| List all the vehicles (you own).

file | ai_waypoint.cpp [code]
| Implementation of AIWaypoint.

file | ai_waypoint.hpp [code]
| Everything to query and build waypoints.

file | ai_waypointlist.cpp [code]
| Implementation of AIWaypointList and friends.

file | ai_waypointlist.hpp [code]
| List all the waypoints (you own).