mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-28 08:57:32 +01:00
2.7 KiB
2.7 KiB
Home > bitburner > Corporation
Corporation interface
Corporation API
Signature:
export interface Corporation extends WarehouseAPI, OfficeAPI
Extends: WarehouseAPI, OfficeAPI
Methods
Method | Description |
---|---|
acceptInvestmentOffer() | Accept investment based on you companies current valuation |
bribe(factionName, amountCash, amountShares) | Bribe a faction |
buyBackShares(amount) | Buyback Shares |
createCorporation(corporationName, selfFund) | Create a Corporation |
expandCity(divisionName, cityName) | Expand to a new city |
expandIndustry(industryType, divisionName) | Expand to a new industry |
getCorporation() | Get corporation data |
getDivision(divisionName) | Get division data |
getExpandCityCost() | Gets the cost to expand into a new city |
getExpandIndustryCost(industryName) | Gets the cost to expand into a new industry |
getInvestmentOffer() | Get an offer for investment based on you companies current valuation |
getUnlockUpgradeCost(upgradeName) | Gets the cost to unlock a one time unlockable upgrade |
getUpgradeLevel(upgradeName) | Get the level of a levelable upgrade |
getUpgradeLevelCost(upgradeName) | Gets the cost to unlock the next level of a levelable upgrade |
goPublic(numShares) | Go public |
hasUnlockUpgrade(upgradeName) | Check if you have a one time unlockable upgrade |
issueDividends(percent) | Issue dividends |
levelUpgrade(upgradeName) | Level an upgrade. |
sellShares(amount) | Sell Shares |
unlockUpgrade(upgradeName) | Unlock an upgrade |