mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23:48 +01:00
33 lines
718 B
Markdown
33 lines
718 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getFactionRep](./bitburner.singularity.getfactionrep.md)
|
||
|
|
||
|
## Singularity.getFactionRep() method
|
||
|
|
||
|
Get faction reputation.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
getFactionRep(faction: string): number;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| faction | string | Name of faction to work for. |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
number
|
||
|
|
||
|
Amount of reputation you have for the specified faction.
|
||
|
|
||
|
## Remarks
|
||
|
|
||
|
RAM cost: 1 GB \* 16/4/1
|
||
|
|
||
|
This function returns the amount of reputation you have for the specified faction.
|
||
|
|