Scriptum/Assets/Scripts/REFACTORING/Domain/Enum/Mission/MissionStepStatusEnum.cs

31 lines
1.0 KiB
C#
Raw Normal View History

2022-12-04 18:42:34 +01:00
[System.Serializable]
public enum MissionStepStatusEnum
{
None,
Pending,
Active,
2022-12-27 15:16:59 +01:00
AfterCondition,
2022-12-04 18:42:34 +01:00
Finished
}
/*
* None - raw status
* mostly as deffault value for models saved in assets or in files
* also for code class constructors (deffault value is required to pass new instanes and save object in binnary files - not sure last one heh)
*
*
* Pending - mission is loaded
* step has not been started
* just loaded, step is still waiting in queue on its turn
*
* change status from None -> Pending during building step!!!
*
*
* Active - step is currently in proggress
* when status is pending we are interesten in dikalogue step model list and status each of step inside
*
*
* Finished - step was finished
* (most important finish action were invoked)
* we can freely iterate through (skip) step and go forward to next one
*/