We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86620bb commit 5bc042eCopy full SHA for 5bc042e
xivModdingFramework/Cache/XivDependencyGraph.cs
@@ -168,6 +168,18 @@ public struct XivDependencyRootInfo :ICloneable
168
// Slot may not exist for all types.
169
public string? Slot;
170
171
+ public XivDependencyRootInfo GetOtherSlot(string slot)
172
+ {
173
+ return new XivDependencyRootInfo()
174
175
+ PrimaryId = PrimaryId,
176
+ PrimaryType = PrimaryType,
177
+ SecondaryId = SecondaryId,
178
+ SecondaryType = SecondaryType,
179
+ Slot = slot
180
+ };
181
+ }
182
+
183
/// <summary>
184
/// Converts this dependency root into a raw string entry.
185
/// </summary>
0 commit comments