diff options
Diffstat (limited to 'src/StardewModdingAPI')
-rw-r--r-- | src/StardewModdingAPI/Framework/Manifest.cs (renamed from src/StardewModdingAPI/Manifest.cs) | 4 | ||||
-rw-r--r-- | src/StardewModdingAPI/Framework/Serialisation/JsonHelper.cs | 2 | ||||
-rw-r--r-- | src/StardewModdingAPI/Mod.cs | 6 | ||||
-rw-r--r-- | src/StardewModdingAPI/StardewModdingAPI.csproj | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/StardewModdingAPI/Manifest.cs b/src/StardewModdingAPI/Framework/Manifest.cs index baacf954..189da9a8 100644 --- a/src/StardewModdingAPI/Manifest.cs +++ b/src/StardewModdingAPI/Framework/Manifest.cs @@ -2,10 +2,10 @@ using Newtonsoft.Json; using StardewModdingAPI.Framework.Serialisation; -namespace StardewModdingAPI +namespace StardewModdingAPI.Framework { /// <summary>A manifest which describes a mod for SMAPI.</summary> - public class Manifest : IManifest + internal class Manifest : IManifest { /********* ** Accessors diff --git a/src/StardewModdingAPI/Framework/Serialisation/JsonHelper.cs b/src/StardewModdingAPI/Framework/Serialisation/JsonHelper.cs index 3809666f..26d937a5 100644 --- a/src/StardewModdingAPI/Framework/Serialisation/JsonHelper.cs +++ b/src/StardewModdingAPI/Framework/Serialisation/JsonHelper.cs @@ -6,7 +6,7 @@ using StardewModdingAPI.Advanced; namespace StardewModdingAPI.Framework.Serialisation { /// <summary>Encapsulates SMAPI's JSON file parsing.</summary> - public class JsonHelper + internal class JsonHelper { /********* ** Accessors diff --git a/src/StardewModdingAPI/Mod.cs b/src/StardewModdingAPI/Mod.cs index 45534e16..c8456a29 100644 --- a/src/StardewModdingAPI/Mod.cs +++ b/src/StardewModdingAPI/Mod.cs @@ -50,11 +50,11 @@ namespace StardewModdingAPI } } - /// <summary>The full path to the per-save configs folder (if <see cref="StardewModdingAPI.Manifest.PerSaveConfigs"/> is <c>true</c>).</summary> + /// <summary>The full path to the per-save configs folder (if <see cref="Manifest.PerSaveConfigs"/> is <c>true</c>).</summary> [Obsolete("Use " + nameof(Mod.Helper) + "." + nameof(IModHelper.ReadJsonFile) + " instead")] public string PerSaveConfigFolder => this.GetPerSaveConfigFolder(); - /// <summary>The full path to the per-save configuration file for the current save (if <see cref="StardewModdingAPI.Manifest.PerSaveConfigs"/> is <c>true</c>).</summary> + /// <summary>The full path to the per-save configuration file for the current save (if <see cref="Manifest.PerSaveConfigs"/> is <c>true</c>).</summary> [Obsolete("Use " + nameof(Mod.Helper) + "." + nameof(IModHelper.ReadJsonFile) + " instead")] public string PerSaveConfigPath { @@ -82,7 +82,7 @@ namespace StardewModdingAPI /********* ** Private methods *********/ - /// <summary>Get the full path to the per-save configuration file for the current save (if <see cref="StardewModdingAPI.Manifest.PerSaveConfigs"/> is <c>true</c>).</summary> + /// <summary>Get the full path to the per-save configuration file for the current save (if <see cref="Manifest.PerSaveConfigs"/> is <c>true</c>).</summary> [Obsolete] private string GetPerSaveConfigFolder() { diff --git a/src/StardewModdingAPI/StardewModdingAPI.csproj b/src/StardewModdingAPI/StardewModdingAPI.csproj index ffeb8e2e..1e896d4b 100644 --- a/src/StardewModdingAPI/StardewModdingAPI.csproj +++ b/src/StardewModdingAPI/StardewModdingAPI.csproj @@ -186,7 +186,7 @@ <Compile Include="Events\ItemStackChange.cs" /> <Compile Include="Log.cs" /> <Compile Include="Framework\Monitor.cs" /> - <Compile Include="Manifest.cs" /> + <Compile Include="Framework\Manifest.cs" /> <Compile Include="Mod.cs" /> <Compile Include="Framework\ModHelper.cs" /> <Compile Include="Program.cs" /> |