mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-25 15:42:28 +01:00
79bb0d289a
This reverts commit da8870ed796c916c19cac7c2b6328a75180367fc.
1020 B
1020 B
Home > bitburner > Bladeburner > getTeamSize
Bladeburner.getTeamSize() method
Get team size.
Signature:
getTeamSize(type?: string, name?: string): number;
Parameters
Parameter | Type | Description |
---|---|---|
type | string | (Optional) Type of action. |
name | string | (Optional) Name of action. Must be an exact match. |
Returns:
number
Number of Bladeburner team members that were assigned to the specified action.
Remarks
RAM cost: 4 GB
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.