Corporation Office API
Signature:
export interface OfficeAPI
Requires the Office API upgrade from your corporation.
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. |