Skip to content

Commit b7e2415

Browse files
committed
Spore ModAPI Launcher: remove unused functions
1 parent 8432a46 commit b7e2415

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

Spore ModAPI Launcher/Injector.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.Linq;
43
using System.Text;
5-
using System.Threading.Tasks;
64

75
using System.Runtime.InteropServices;
8-
using System.CodeDom;
96
using System.Threading;
107
using ModAPI.Common;
118

Spore ModAPI Launcher/Program.cs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -289,21 +289,6 @@ void ResumeSporeProcess()
289289
}
290290
}
291291

292-
string ProcessSporebinPath()
293-
{
294-
string path = PathDialogs.ProcessGalacticAdventures();
295-
296-
if (path == null || !Directory.Exists(path))
297-
{
298-
299-
throw new InjectException(CommonStrings.GalacticAdventuresNotFound);
300-
}
301-
302-
this.SporebinPath = path;
303-
304-
return path;
305-
}
306-
307292
GameVersionType ProcessExecutableType()
308293
{
309294
GameVersionType executableType = GameVersion.DetectVersion(this.ExecutablePath);
@@ -445,11 +430,6 @@ public static void ThrowWin32Exception(string info, int error)
445430
}
446431
}
447432

448-
private static string GetModDisplayName(XmlNode modNode)
449-
{
450-
return modNode.Attributes["displayName"]?.Value ?? modNode.Attributes["unique"]?.Value;
451-
}
452-
453433
private static List<string> GetModFiles(XmlNode componentNode)
454434
{
455435
var modFiles = new List<string>();

0 commit comments

Comments
 (0)