mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-29 01:17:34 +01:00
44 lines
1.2 KiB
Markdown
44 lines
1.2 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: string, positionName: JobName): CompanyPositionInfo;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| companyName | string | Name of company to get the requirements for. Must be an exact match. |
|
||
|
| positionName | [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);
|
||
|
```
|
||
|
|