equal
deleted
inserted
replaced
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. |