Add: AI/GS GetMonthlyMaintenanceCost (#6897)
API addition which allows AI/GS scripts to retrieve the monthly maintenance cost of an airport type.
This commit is contained in:
committed by
Niels Martin Hansen
parent
4703cd433d
commit
1e68b9b3e6
@@ -201,6 +201,14 @@ public:
|
||||
* @return Maintenance cost factor of the airport type.
|
||||
*/
|
||||
static uint16 GetMaintenanceCostFactor(AirportType type);
|
||||
|
||||
/**
|
||||
* Get the monthly maintenance cost of an airport type.
|
||||
* @param type The airport type to get the monthly maintenance cost of.
|
||||
* @pre IsAirportInformationAvailable(type)
|
||||
* @return Monthly maintenance cost of the airport type.
|
||||
*/
|
||||
static Money GetMonthlyMaintenanceCost(AirportType type);
|
||||
};
|
||||
|
||||
#endif /* SCRIPT_AIRPORT_HPP */
|
||||
|
||||
Reference in New Issue
Block a user