summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ModLoading/ModDependencyStatus.cs
blob: dd855d2fe12ae41ed02e53f6a5c6525aa570b7e0 (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 analyzed 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
    }
}