bitburner-src/markdown/bitburner.officeapi.md
Olivier Gagnon c915cd06d8 corp doc
2021-12-08 20:03:22 -05:00

1.4 KiB

Home > bitburner > OfficeAPI

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.