Skip to content

Files

Latest commit

author
Olivier Gagnon
Dec 9, 2021
c915cd0 · Dec 9, 2021

History

History
32 lines (22 loc) · 1.39 KB

bitburner.officeapi.md

File metadata and controls

32 lines (22 loc) · 1.39 KB

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.