mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-29 19:13:49 +01:00
33 lines
793 B
Markdown
33 lines
793 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getCompanyRep](./bitburner.singularity.getcompanyrep.md)
|
||
|
|
||
|
## Singularity.getCompanyRep() method
|
||
|
|
||
|
Get company reputation.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
getCompanyRep(companyName: string): number;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| companyName | string | Name of the company. |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
number
|
||
|
|
||
|
Amount of reputation you have at the specified company.
|
||
|
|
||
|
## Remarks
|
||
|
|
||
|
RAM cost: 1 GB \* 16/4/1
|
||
|
|
||
|
This function will return the amount of reputation you have at the specified company. If the company passed in as an argument is invalid, -1 will be returned.
|
||
|
|