TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ BuildSet()

static void Terraria.ModLoader.TopoSort< T >.BuildSet ( T t,
IDictionary< T, List< T > > dict,
ISet< T > set )
inlinestaticprivate

Definition at line 79 of file TopoSort.cs.

80 {
81 if (!dict.TryGetValue(t, out var _))
82 {
83 return;
84 }
85 foreach (T entry in dict[t])
86 {
87 if (set.Add(entry))
88 {
89 BuildSet(entry, dict, set);
90 }
91 }
92 }
static void BuildSet(T t, IDictionary< T, List< T > > dict, ISet< T > set)
Definition TopoSort.cs:79

References Terraria.ModLoader.TopoSort< T >.BuildSet().

Referenced by Terraria.ModLoader.TopoSort< T >.AllDependencies(), Terraria.ModLoader.TopoSort< T >.AllDependendents(), and Terraria.ModLoader.TopoSort< T >.BuildSet().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: