mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 07:02:26 +01:00
26 lines
475 B
Markdown
26 lines
475 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.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
getPlayer(): Player;
|
|
```
|
|
**Returns:**
|
|
|
|
[Player](./bitburner.player.md)
|
|
|
|
Player info
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 0.5 GB
|
|
|
|
Returns an object with information on the current player.
|
|
|