Skip to content

Commit 5bc042e

Browse files
committed
- Added prompt and mutli-slot conversion for multi-slot gear to the Item Converter.
1 parent 86620bb commit 5bc042e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

xivModdingFramework/Cache/XivDependencyGraph.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,18 @@ public struct XivDependencyRootInfo :ICloneable
168168
// Slot may not exist for all types.
169169
public string? Slot;
170170

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+
171183
/// <summary>
172184
/// Converts this dependency root into a raw string entry.
173185
/// </summary>

0 commit comments

Comments
 (0)