Remove async from buyCoffee and throwParty

This commit is contained in:
Staszek Welsh
2022-06-01 23:28:14 +01:00
parent ffaa38d086
commit 04efd899a0
3 changed files with 13 additions and 17 deletions

View File

@@ -6639,16 +6639,16 @@ export interface OfficeAPI {
* @param divisionName - Name of the division
* @param cityName - Name of the city
* @param costPerEmployee - Amount to spend per employee.
* @returns Amount of happiness increased.
* @returns Multiplier for happiness and morale, or zero on failure
*/
throwParty(divisionName: string, cityName: string, costPerEmployee: number): Promise<number>;
throwParty(divisionName: string, cityName: string, costPerEmployee: number): number;
/**
* Buy coffee for your employees
* @param divisionName - Name of the division
* @param cityName - Name of the city
* @returns A promise that is fulfilled when the coffee is served.
* @returns true if buying coffee was successful, false otherwise
*/
buyCoffee(divisionName: string, cityName: string): Promise<void>;
buyCoffee(divisionName: string, cityName: string): boolean;
/**
* Hire AdVert.
* @param divisionName - Name of the division