summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_vehiclelist.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/api/ai_vehiclelist.hpp')
-rw-r--r--src/ai/api/ai_vehiclelist.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ai/api/ai_vehiclelist.hpp b/src/ai/api/ai_vehiclelist.hpp
index 0e91d75bc..a18d938b1 100644
--- a/src/ai/api/ai_vehiclelist.hpp
+++ b/src/ai/api/ai_vehiclelist.hpp
@@ -31,4 +31,18 @@ public:
AIVehicleList_Station(StationID station_id);
};
+/**
+ * Creates a list of vehicles that share orders.
+ * @ingroup AIList
+ */
+class AIVehicleList_SharedOrders : public AIAbstractList {
+public:
+ static const char *GetClassName() { return "AIVehicleList_SharedOrders"; }
+
+ /**
+ * @param station_id The vehicle that the rest shared orders with.
+ */
+ AIVehicleList_SharedOrders(VehicleID vehicle_id);
+};
+
#endif /* AI_VEHICLELIST_HPP */