Add createCorp

This commit is contained in:
pigalot
2022-01-11 19:43:29 +00:00
parent bea6b0e0b1
commit e2bb76ae6d
2 changed files with 25 additions and 0 deletions

View File

@@ -6314,6 +6314,12 @@ export interface WarehouseAPI {
* @public
*/
export interface Corporation extends WarehouseAPI, OfficeAPI {
/**
* Create a Corporation
* @param divisionName - Name of the division
* @returns true if created and false if not
*/
createCorporation(corporationName: string, selfFund: boolean): boolean;
/**
* Get corporation data
* @returns Corporation data