mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 23:22:29 +01:00
26 lines
481 B
Markdown
26 lines
481 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getPlayer](./bitburner.ns.getplayer.md)
|
||
|
|
||
|
## NS.getPlayer() method
|
||
|
|
||
|
Get information about the player.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
getPlayer(): Player;
|
||
|
```
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
[Player](./bitburner.player.md)
|
||
|
|
||
|
Player info
|
||
|
|
||
|
## Remarks
|
||
|
|
||
|
RAM cost: 0.5 GB
|
||
|
|
||
|
Returns an object with information on the current player.
|
||
|
|