Skip to content

Commit 5a1f1c4

Browse files
committed
Update 2.0.11.16
2 parents d59a9df + c35ef23 commit 5a1f1c4

File tree

3 files changed

+289
-345
lines changed

3 files changed

+289
-345
lines changed

xivModdingFramework/Helpers/IOUtil.cs

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -123,37 +123,5 @@ public static string MakeItemSavePath(IItem item, DirectoryInfo saveDirectory, X
123123

124124
return path;
125125
}
126-
127-
/// <summary>
128-
/// Determines whether a DDS file exists for the given item
129-
/// </summary>
130-
/// <param name="item">The item to check</param>
131-
/// <param name="saveDirectory">The save directory where the DDS should be located</param>
132-
/// <param name="fileName">The name of the file</param>
133-
/// <returns>True if the DDS file exists, false otherwise</returns>
134-
public static bool DDSFileExists(IItem item, DirectoryInfo saveDirectory, string fileName, XivRace race = XivRace.All_Races)
135-
{
136-
var path = MakeItemSavePath(item, saveDirectory, race);
137-
138-
var fullPath = new DirectoryInfo($"{path}\\{fileName}.dds");
139-
140-
return File.Exists(fullPath.FullName);
141-
}
142-
143-
/// <summary>
144-
/// Determines whether a BMP file exists for the given item
145-
/// </summary>
146-
/// <param name="item">The item to check</param>
147-
/// <param name="saveDirectory">The save directory where the BMP should be located</param>
148-
/// <param name="fileName">The name of the file</param>
149-
/// <returns>True if the BMP file exists, false otherwise</returns>
150-
public static bool BMPFileExists(IItem item, DirectoryInfo saveDirectory, string fileName, XivRace race = XivRace.All_Races)
151-
{
152-
var path = MakeItemSavePath(item, saveDirectory, race);
153-
154-
var fullPath = new DirectoryInfo($"{path}\\{fileName}.bmp");
155-
156-
return File.Exists(fullPath.FullName);
157-
}
158126
}
159127
}

0 commit comments

Comments
 (0)