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

30 lines
1.0 KiB
C#
Raw Permalink Normal View History

2022-12-04 18:42:34 +01:00
[System.Serializable]
public enum MissionStepStatusEnum
{
None,
Pending,
Active,
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
*/