Scriptum/Assets/Scripts/REFACTORING/Domain/Enum/Mission/MissionStepStatusEnum.cs
2022-12-27 15:24:26 +01:00

31 lines
1.0 KiB
C#

[System.Serializable]
public enum MissionStepStatusEnum
{
None,
Pending,
Active,
AfterCondition,
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
*/