mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-20 05:05:47 +01:00
37 lines
663 B
Markdown
37 lines
663 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
||
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getStats](./bitburner.singularity.getstats.md)
|
||
|
||
## Singularity.getStats() method
|
||
|
||
> Warning: This API is now obsolete.
|
||
>
|
||
> use getPlayer
|
||
>
|
||
|
||
SF4.1 - Returns an object with the Player’s stats.
|
||
|
||
<b>Signature:</b>
|
||
|
||
```typescript
|
||
getStats(): PlayerSkills;
|
||
```
|
||
<b>Returns:</b>
|
||
|
||
[PlayerSkills](./bitburner.playerskills.md)
|
||
|
||
Object with the Player’s stats.
|
||
|
||
## Remarks
|
||
|
||
RAM cost: 0.5 GB
|
||
|
||
## Example
|
||
|
||
|
||
```ts
|
||
res = getStats();
|
||
print('My charisma level is: ' + res.charisma);
|
||
```
|
||
|