mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 11:33:47 +01:00
36 lines
892 B
Markdown
36 lines
892 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getTeamSize](./bitburner.bladeburner.getteamsize.md)
|
|
|
|
## Bladeburner.getTeamSize() method
|
|
|
|
Get team size.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
getTeamSize(type: string, name: string): number;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| type | string | Type of action. |
|
|
| name | string | Name of action. Must be an exact match. |
|
|
|
|
<b>Returns:</b>
|
|
|
|
number
|
|
|
|
Number of Bladeburner team members that were assigned to the specified action.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 4 GB
|
|
|
|
Returns 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.
|
|
|