mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 23:22:29 +01:00
36 lines
1.4 KiB
Markdown
36 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) > [applyToCompany](./bitburner.singularity.applytocompany.md)
|
||
|
||
## Singularity.applyToCompany() method
|
||
|
||
Apply for a job at a company.
|
||
|
||
**Signature:**
|
||
|
||
```typescript
|
||
applyToCompany(companyName: CompanyName | `${CompanyName}`, field: JobField | `${JobField}`): boolean;
|
||
```
|
||
|
||
## 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:**
|
||
|
||
boolean
|
||
|
||
True if the player successfully get a job/promotion, and false 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 true if you successfully get a job/promotion, and false otherwise. Note that if you are trying to use this function to apply for a promotion and don’t get one, the function will return false.
|
||
|