summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ModLoading/ModDependencyStatus.cs
blob: 0774b487477da25527220a47df095a58baaa0b46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
namespace StardewModdingAPI.Framework.ModLoading
{
    /// <summary>The status of a given mod in the dependency-sorting algorithm.</summary>
    internal enum ModDependencyStatus
    {
        /// <summary>The mod hasn't been visited yet.</summary>
        Queued,

        /// <summary>The mod is currently being analysed as part of a dependency chain.</summary>
        Checking,

        /// <summary>The mod has already been sorted.</summary>
        Sorted,

        /// <summary>The mod couldn't be sorted due to a metadata issue (e.g. missing dependencies).</summary>
        Failed
    }
}