bitburner-src/markdown/bitburner.corporationinfo.md

2.8 KiB

Home > bitburner > CorporationInfo

CorporationInfo interface

General info about a corporation

Signature:

interface CorporationInfo 

Properties

Property Modifiers Type Description
dividendEarnings number Your earnings as a shareholder per second this cycle
dividendRate number Fraction of profits issued as dividends
dividendTax number Tax applied on your earnings as a shareholder
divisions string[] Array of all division names
expenses number Expenses per second this cycle
funds number Funds available
investorShares number Amount of shares owned by private investors. Not available for public sale or CEO buyback.
issuedShares number Amount of shares owned by public traders. Available for CEO buyback.
issueNewSharesCooldown number Cooldown until new shares can be issued
name string Name of the corporation
nextState CorpStateName

The next state to be processed.

I.e. when the state is PURCHASE, it means purchasing will occur during the next state transition.

Possible states are START, PURCHASE, PRODUCTION, EXPORT, SALE.

numShares number Amount of shares owned by the CEO.
prevState CorpStateName

The last state that got processed.

I.e. when that state is PURCHASE, it means purchasing just happened.

Possible states are START, PURCHASE, PRODUCTION, EXPORT, SALE.

public boolean Indicating if the company is public
revenue number Revenue per second this cycle
sharePrice number Price of the shares
shareSaleCooldown number Cooldown until shares can be sold again
totalShares number Total number of shares issued by this corporation.