mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-14 11:43:50 +01:00
1.4 KiB
1.4 KiB
OfficeAPI interface
Corporation Office API
Signature:
export interface OfficeAPI
Remarks
Requires the Office API upgrade from your corporation.
Methods
Method | Description |
---|---|
assignJob(divisionName, cityName, employeeName, job) | Assign an employee to a job. |
buyCoffee(divisionName, cityName) | Buy coffee for your employees |
getEmployee(divisionName, cityName, employeeName) | Get data about an employee |
getOffice(divisionName, cityName) | Get data about an office |
hireAdVert(divisionName) | Hire AdVert. |
hireEmployee(divisionName, cityName) | Assign an employee to a job. |
research(divisionName, researchName) | Hire AdVert. |
throwParty(divisionName, cityName, costPerEmployee) | Assign an employee to a job. |
upgradeOfficeSize(divisionName, cityName, size) | Upgrade office size. |