mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-09 01:03:54 +01:00
33 lines
769 B
Markdown
33 lines
769 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Sleeve](./bitburner.sleeve.md) > [getSleeveStats](./bitburner.sleeve.getsleevestats.md)
|
||
|
|
||
|
## Sleeve.getSleeveStats() method
|
||
|
|
||
|
If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.
|
||
|
|
||
|
Return a structure containing the stats of the sleeve.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
getSleeveStats(sleeveNumber: number): SleeveStats;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| sleeveNumber | number | Index of the sleeve to get stats of. |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
[SleeveStats](./bitburner.sleevestats.md)
|
||
|
|
||
|
Object containing the stats of the sleeve.
|
||
|
|
||
|
## Remarks
|
||
|
|
||
|
4 GB
|
||
|
|