mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 14:42:28 +01:00
18 lines
518 B
Markdown
18 lines
518 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [CorporationInfo](./bitburner.corporationinfo.md) > [prevState](./bitburner.corporationinfo.prevstate.md)
|
||
|
|
||
|
## CorporationInfo.prevState property
|
||
|
|
||
|
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.
|
||
|
|
||
|
**Signature:**
|
||
|
|
||
|
```typescript
|
||
|
prevState: CorpStateName;
|
||
|
```
|