bitburner-src/markdown/bitburner.officeapi.md
omuretsu 06a985bdf8 Revert "Remove markdown from git tracking ()"
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
2022-10-21 11:16:00 -04:00

2.2 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
getHireAdVertCost(divisionName) Get the cost to Hire AdVert
getHireAdVertCount(adivisionName) Get the number of times you have Hired AdVert
getOffice(divisionName, cityName) Get data about an office
getOfficeSizeUpgradeCost(divisionName, cityName, asize) Cost to Upgrade office size.
getResearchCost(divisionName, researchName) Get the cost to unlock research
hasResearched(divisionName, researchName) Gets if you have unlocked a research
hireAdVert(divisionName) Hire AdVert.
hireEmployee(divisionName, cityName) Hire an employee.
research(divisionName, researchName) Purchase a research
setAutoJobAssignment(divisionName, cityName, job, amount) Set the auto job assignment for a job
throwParty(divisionName, cityName, costPerEmployee) Throw a party for your employees
upgradeOfficeSize(divisionName, cityName, size) Upgrade office size.