mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-20 16:22:56 +02:00
work on making the netscript api tighter
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
<!-- 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.
|
||||
>
|
||||
> 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
|
||||
|
||||
Singularity - Level 1
|
||||
|
||||
## Example
|
||||
|
||||
|
||||
```ts
|
||||
res = getStats();
|
||||
print('My charisma level is: ' + res.charisma);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user