CORPORATION: adding prevState and changed state display in the warehouse UI (#861)

This commit is contained in:
Caldwell
2023-10-23 10:48:06 +02:00
committed by GitHub
parent eed2c5d6d4
commit e992cb966a
11 changed files with 96 additions and 76 deletions

View File

@@ -7686,7 +7686,13 @@ interface CorporationInfo {
* 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. */
state: string;
nextState: 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. */
prevState: CorpStateName;
/** Array of all division names */
divisions: string[];
}