2022-10-21 17:16:00 +02:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getCompanyFavorGain](./bitburner.singularity.getcompanyfavorgain.md)
|
|
|
|
|
|
|
|
## Singularity.getCompanyFavorGain() method
|
|
|
|
|
|
|
|
Get company favor gain.
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Signature:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
```typescript
|
2023-08-16 23:31:41 +02:00
|
|
|
getCompanyFavorGain(companyName: CompanyName | `${CompanyName}`): number;
|
2022-10-21 17:16:00 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
2023-08-16 23:31:41 +02:00
|
|
|
| companyName | [CompanyName](./bitburner.companyname.md) \| \`${[CompanyName](./bitburner.companyname.md)<!-- -->}\` | Name of the company. |
|
2022-10-21 17:16:00 +02:00
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Returns:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
number
|
|
|
|
|
|
|
|
Amount of favor you gain at the specified company when you reset by installing Augmentations.
|
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
|
|
|
RAM cost: 0.75 GB \* 16/4/1
|
|
|
|
|
|
|
|
This function will return the amount of favor you will gain for the specified company when you reset by installing Augmentations.
|
|
|
|
|