bitburner-src/markdown/bitburner.singularity.applytocompany.md

36 lines
1.4 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Singularity](./bitburner.singularity.md) &gt; [applyToCompany](./bitburner.singularity.applytocompany.md)
## Singularity.applyToCompany() method
Apply for a job at a company.
**Signature:**
```typescript
2023-12-26 16:59:33 +01:00
applyToCompany(companyName: CompanyName | `${CompanyName}`, field: JobField | `${JobField}`): JobName | null;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| companyName | [CompanyName](./bitburner.companyname.md) \| \`${[CompanyName](./bitburner.companyname.md)<!-- -->}\` | Name of company to apply to. |
| field | [JobField](./bitburner.jobfield.md) \| \`${[JobField](./bitburner.jobfield.md)<!-- -->}\` | Field to which you want to apply. |
**Returns:**
2023-12-26 16:59:33 +01:00
[JobName](./bitburner.jobname.md) \| null
Job name if the player successfully get a job/promotion, and null otherwise.
## Remarks
RAM cost: 3 GB \* 16/4/1
This function will automatically try to apply to the specified company for a position in the specified field. This function can also be used to apply for promotions by specifying the company and field you are already employed at.
This function will return the job name if you successfully get a job/promotion, and null otherwise. Note that if you are trying to use this function to apply for a promotion and dont get one, the function will return null.