bladeburner.getTeamSize: fix signature and documentation (#1383)

This commit is contained in:
Albert Llop
2024-06-10 01:39:01 +02:00
committed by GitHub
parent 995294a770
commit ba7d45362f
2 changed files with 8 additions and 6 deletions

View File

@@ -3321,7 +3321,9 @@ export interface Bladeburner {
* @remarks
* RAM cost: 4 GB
*
* Returns the number of Bladeburner team members you have assigned to the specified action.
* Returns the number of available Bladeburner team members.
* You can also pass the type and name of an action to get the number of
* Bladeburner team members you have assigned to the specified action.
*
* Setting a team is only applicable for Operations and BlackOps. This function will return 0 for other action types.
*
@@ -3329,7 +3331,7 @@ export interface Bladeburner {
* @param name - Name of action. Must be an exact match.
* @returns Number of Bladeburner team members that were assigned to the specified action.
*/
getTeamSize(type: string, name: string): number;
getTeamSize(type?: string, name?: string): number;
/**
* Set team size.