Merge pull request #2738 from pd/corp-jsdoc

NetscriptDefinitions: fix jsdoc for Corp research functions
This commit is contained in:
hydroflame 2022-01-26 00:44:43 -05:00 committed by GitHub
commit 2ecc71ba28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6182,14 +6182,14 @@ export interface OfficeAPI {
/** /**
* Get the cost to unlock research * Get the cost to unlock research
* @param divisionName - Name of the division * @param divisionName - Name of the division
* @param cityName - Name of the city * @param researchName - Name of the research
* @returns cost * @returns cost
*/ */
getResearchCost(divisionName: string, researchName: string): number; getResearchCost(divisionName: string, researchName: string): number;
/** /**
* Gets if you have unlocked a research * Gets if you have unlocked a research
* @param divisionName - Name of the division * @param divisionName - Name of the division
* @param cityName - Name of the city * @param researchName - Name of the research
* @returns true is unlocked, false if not * @returns true is unlocked, false if not
*/ */
hasResearched(divisionName: string, researchName: string): boolean; hasResearched(divisionName: string, researchName: string): boolean;