src/ai/api/ai_order.hpp
branchnoai
changeset 10844 affb2821fb9f
parent 10181 54df587fef5d
child 11029 776c7cc8bda5
equal deleted inserted replaced
10843:d307cacb3229 10844:affb2821fb9f
    91 	 * @param vehicle_id The vehicle to get the order count of.
    91 	 * @param vehicle_id The vehicle to get the order count of.
    92 	 * @pre AIVehicle::IsValidVehicle(vehicle_id).
    92 	 * @pre AIVehicle::IsValidVehicle(vehicle_id).
    93 	 * @return The number of orders for the given vehicle or a negative
    93 	 * @return The number of orders for the given vehicle or a negative
    94 	 *   value when the vehicle does not exist.
    94 	 *   value when the vehicle does not exist.
    95 	 */
    95 	 */
    96 	static int32 GetNumberOfOrders(VehicleID vehicle_id);
    96 	static int32 GetOrderCount(VehicleID vehicle_id);
    97 
    97 
    98 	/**
    98 	/**
    99 	 * Gets the destination of the given order for the given vehicle.
    99 	 * Gets the destination of the given order for the given vehicle.
   100 	 * @param vehicle_id The vehicle to get the destination for.
   100 	 * @param vehicle_id The vehicle to get the destination for.
   101 	 * @param order_id The order to get the destination for.
   101 	 * @param order_id The order to get the destination for.