diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-08-19 20:27:28 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-08-19 20:27:28 -0400 |
commit | 100e303b488a36e8410ff67e32c35bff80f21ba2 (patch) | |
tree | 53ec306a14025726c35c8cebf0bd72370abf996e /src/StardewModdingAPI.Toolkit/Framework/ModScanning/ModFolder.cs | |
parent | 826dd53ab550e5b92796c510569118beee6bd044 (diff) | |
download | SMAPI-100e303b488a36e8410ff67e32c35bff80f21ba2.tar.gz SMAPI-100e303b488a36e8410ff67e32c35bff80f21ba2.tar.bz2 SMAPI-100e303b488a36e8410ff67e32c35bff80f21ba2.zip |
add recursive mod search (#583)
Diffstat (limited to 'src/StardewModdingAPI.Toolkit/Framework/ModScanning/ModFolder.cs')
-rw-r--r-- | src/StardewModdingAPI.Toolkit/Framework/ModScanning/ModFolder.cs | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/StardewModdingAPI.Toolkit/Framework/ModScanning/ModFolder.cs b/src/StardewModdingAPI.Toolkit/Framework/ModScanning/ModFolder.cs index 4aaa3f83..83c9c44d 100644 --- a/src/StardewModdingAPI.Toolkit/Framework/ModScanning/ModFolder.cs +++ b/src/StardewModdingAPI.Toolkit/Framework/ModScanning/ModFolder.cs @@ -11,11 +11,8 @@ namespace StardewModdingAPI.Toolkit.Framework.ModScanning /********* ** Accessors *********/ - /// <summary>The Mods subfolder containing this mod.</summary> - public DirectoryInfo SearchDirectory { get; } - - /// <summary>The folder containing manifest.json.</summary> - public DirectoryInfo ActualDirectory { get; } + /// <summary>The folder containing the mod's manifest.json.</summary> + public DirectoryInfo Directory { get; } /// <summary>The mod manifest.</summary> public Manifest Manifest { get; } @@ -28,14 +25,12 @@ namespace StardewModdingAPI.Toolkit.Framework.ModScanning ** Public methods *********/ /// <summary>Construct an instance.</summary> - /// <param name="searchDirectory">The Mods subfolder containing this mod.</param> - /// <param name="actualDirectory">The folder containing manifest.json.</param> + /// <param name="directory">The folder containing the mod's manifest.json.</param> /// <param name="manifest">The mod manifest.</param> /// <param name="manifestParseError">The error which occurred parsing the manifest, if any.</param> - public ModFolder(DirectoryInfo searchDirectory, DirectoryInfo actualDirectory, Manifest manifest, string manifestParseError = null) + public ModFolder(DirectoryInfo directory, Manifest manifest, string manifestParseError = null) { - this.SearchDirectory = searchDirectory; - this.ActualDirectory = actualDirectory; + this.Directory = directory; this.Manifest = manifest; this.ManifestParseError = manifestParseError; } |