mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-24 00:23:49 +01:00
1.4 KiB
1.4 KiB
Home > bitburner > Singularity > getCompanyPositionInfo
Singularity.getCompanyPositionInfo() method
Get Requirements for Company Position.
Signature:
getCompanyPositionInfo(
companyName: CompanyName | `${CompanyName}`,
positionName: JobName | `${JobName}`,
): CompanyPositionInfo;
Parameters
Parameter | Type | Description |
---|---|---|
companyName | CompanyName | `${CompanyName}` | Name of company to get the requirements for. Must be an exact match. |
positionName | JobName | `${JobName}` | Name of position to get the requirements for. Must be an exact match. |
Returns:
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
const companyName = "ECorp";
const position = "Chief Executive Officer";
let requirements = ns.singularity.getCompanyPositionInfo(companyName, position);