mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-17 21:23:54 +01:00
47 lines
1.4 KiB
Markdown
47 lines
1.4 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getCompanyPositionInfo](./bitburner.singularity.getcompanypositioninfo.md)
|
|
|
|
## Singularity.getCompanyPositionInfo() method
|
|
|
|
Get Requirements for Company Position.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
getCompanyPositionInfo(
|
|
companyName: CompanyName | `${CompanyName}`,
|
|
positionName: JobName | `${JobName}`,
|
|
): CompanyPositionInfo;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| companyName | [CompanyName](./bitburner.companyname.md) \| \`${[CompanyName](./bitburner.companyname.md)<!-- -->}\` | Name of company to get the requirements for. Must be an exact match. |
|
|
| positionName | [JobName](./bitburner.jobname.md) \| \`${[JobName](./bitburner.jobname.md)<!-- -->}\` | Name of position to get the requirements for. Must be an exact match. |
|
|
|
|
**Returns:**
|
|
|
|
[CompanyPositionInfo](./bitburner.companypositioninfo.md)
|
|
|
|
CompanyPositionInfo object.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 2 GB \* 16/4/1
|
|
|
|
This function will return an object that contains the requirements for a specific position at a specific country.
|
|
|
|
## Example
|
|
|
|
|
|
```js
|
|
const companyName = "ECorp";
|
|
const position = "Chief Executive Officer";
|
|
|
|
let requirements = ns.singularity.getCompanyPositionInfo(companyName, position);
|
|
```
|
|
|