bitburner-src/markdown/bitburner.officeapi.md

39 lines
2.2 KiB
Markdown
Raw Normal View History

2021-12-09 00:19:30 +01:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [OfficeAPI](./bitburner.officeapi.md)
## OfficeAPI interface
2021-12-09 02:03:22 +01:00
Corporation Office API
2021-12-09 00:19:30 +01:00
<b>Signature:</b>
```typescript
export interface OfficeAPI
```
2021-12-09 02:03:22 +01:00
## Remarks
2022-10-10 00:46:13 +02:00
requires the Office API upgrade from your corporation.
2021-12-09 02:03:22 +01:00
2021-12-09 00:19:30 +01:00
## Methods
| Method | Description |
| --- | --- |
2021-12-09 02:03:22 +01:00
| [assignJob(divisionName, cityName, employeeName, job)](./bitburner.officeapi.assignjob.md) | Assign an employee to a job. |
| [buyCoffee(divisionName, cityName)](./bitburner.officeapi.buycoffee.md) | Buy coffee for your employees |
| [getEmployee(divisionName, cityName, employeeName)](./bitburner.officeapi.getemployee.md) | Get data about an employee |
2022-01-13 19:48:54 +01:00
| [getHireAdVertCost(divisionName)](./bitburner.officeapi.gethireadvertcost.md) | Get the cost to Hire AdVert |
| [getHireAdVertCount(adivisionName)](./bitburner.officeapi.gethireadvertcount.md) | Get the number of times you have Hired AdVert |
2021-12-09 02:03:22 +01:00
| [getOffice(divisionName, cityName)](./bitburner.officeapi.getoffice.md) | Get data about an office |
2022-01-15 15:24:01 +01:00
| [getOfficeSizeUpgradeCost(divisionName, cityName, asize)](./bitburner.officeapi.getofficesizeupgradecost.md) | Cost to Upgrade office size. |
2022-01-13 19:48:54 +01:00
| [getResearchCost(divisionName, researchName)](./bitburner.officeapi.getresearchcost.md) | Get the cost to unlock research |
| [hasResearched(divisionName, researchName)](./bitburner.officeapi.hasresearched.md) | Gets if you have unlocked a research |
2021-12-09 02:03:22 +01:00
| [hireAdVert(divisionName)](./bitburner.officeapi.hireadvert.md) | Hire AdVert. |
2022-01-13 19:48:54 +01:00
| [hireEmployee(divisionName, cityName)](./bitburner.officeapi.hireemployee.md) | Hire an employee. |
2022-01-13 22:08:01 +01:00
| [research(divisionName, researchName)](./bitburner.officeapi.research.md) | Purchase a research |
2022-01-13 19:48:54 +01:00
| [setAutoJobAssignment(divisionName, cityName, job, amount)](./bitburner.officeapi.setautojobassignment.md) | Set the auto job assignment for a job |
| [throwParty(divisionName, cityName, costPerEmployee)](./bitburner.officeapi.throwparty.md) | Throw a party for your employees |
2021-12-09 02:03:22 +01:00
| [upgradeOfficeSize(divisionName, cityName, size)](./bitburner.officeapi.upgradeofficesize.md) | Upgrade office size. |
2021-12-09 00:19:30 +01:00