mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-09 17:23:53 +01:00
2.0 KiB
2.0 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 |
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 |
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) | purchace 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. |