bitburner-src/markdown/bitburner.singularity.getstats.md

37 lines
663 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Singularity](./bitburner.singularity.md) &gt; [getStats](./bitburner.singularity.getstats.md)
## Singularity.getStats() method
> Warning: This API is now obsolete.
>
2021-12-03 20:12:32 +01:00
> use getPlayer
>
2021-12-03 20:12:32 +01:00
SF4.1 - Returns an object with the Players stats.
<b>Signature:</b>
```typescript
getStats(): PlayerSkills;
```
<b>Returns:</b>
[PlayerSkills](./bitburner.playerskills.md)
Object with the Players stats.
## Remarks
RAM cost: 0.5 GB
## Example
```ts
res = getStats();
print('My charisma level is: ' + res.charisma);
```