summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/StardewModdingAPI/Framework/Models/GitRelease.cs (renamed from src/StardewModdingAPI/Framework/GitRelease.cs)2
-rw-r--r--src/StardewModdingAPI/Framework/Models/UserSettings.cs (renamed from src/StardewModdingAPI/Framework/UserSettings.cs)2
-rw-r--r--src/StardewModdingAPI/Framework/UpdateHelper.cs1
-rw-r--r--src/StardewModdingAPI/Program.cs1
-rw-r--r--src/StardewModdingAPI/StardewModdingAPI.csproj4
5 files changed, 6 insertions, 4 deletions
diff --git a/src/StardewModdingAPI/Framework/GitRelease.cs b/src/StardewModdingAPI/Framework/Models/GitRelease.cs
index 0da57efd..bc53468f 100644
--- a/src/StardewModdingAPI/Framework/GitRelease.cs
+++ b/src/StardewModdingAPI/Framework/Models/GitRelease.cs
@@ -1,6 +1,6 @@
using Newtonsoft.Json;
-namespace StardewModdingAPI.Framework
+namespace StardewModdingAPI.Framework.Models
{
/// <summary>Metadata about a GitHub release tag.</summary>
internal class GitRelease
diff --git a/src/StardewModdingAPI/Framework/UserSettings.cs b/src/StardewModdingAPI/Framework/Models/UserSettings.cs
index 6a4fb353..a0074f77 100644
--- a/src/StardewModdingAPI/Framework/UserSettings.cs
+++ b/src/StardewModdingAPI/Framework/Models/UserSettings.cs
@@ -1,4 +1,4 @@
-namespace StardewModdingAPI.Framework
+namespace StardewModdingAPI.Framework.Models
{
/// <summary>Contains user settings from SMAPI's JSON configuration file.</summary>
internal class UserSettings
diff --git a/src/StardewModdingAPI/Framework/UpdateHelper.cs b/src/StardewModdingAPI/Framework/UpdateHelper.cs
index ddd1d840..e01e55c8 100644
--- a/src/StardewModdingAPI/Framework/UpdateHelper.cs
+++ b/src/StardewModdingAPI/Framework/UpdateHelper.cs
@@ -3,6 +3,7 @@ using System.Net;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
+using StardewModdingAPI.Framework.Models;
namespace StardewModdingAPI.Framework
{
diff --git a/src/StardewModdingAPI/Program.cs b/src/StardewModdingAPI/Program.cs
index 9ecb91e3..cc3cb2bc 100644
--- a/src/StardewModdingAPI/Program.cs
+++ b/src/StardewModdingAPI/Program.cs
@@ -14,6 +14,7 @@ using StardewModdingAPI.AssemblyRewriters;
using StardewModdingAPI.Events;
using StardewModdingAPI.Framework;
using StardewModdingAPI.Framework.AssemblyRewriting;
+using StardewModdingAPI.Framework.Models;
using StardewModdingAPI.Inheritance;
using StardewValley;
using Monitor = StardewModdingAPI.Framework.Monitor;
diff --git a/src/StardewModdingAPI/StardewModdingAPI.csproj b/src/StardewModdingAPI/StardewModdingAPI.csproj
index 9dec9881..0c6697cb 100644
--- a/src/StardewModdingAPI/StardewModdingAPI.csproj
+++ b/src/StardewModdingAPI/StardewModdingAPI.csproj
@@ -174,8 +174,8 @@
<Compile Include="LogLevel.cs" />
<Compile Include="Framework\ModRegistry.cs" />
<Compile Include="Framework\UpdateHelper.cs" />
- <Compile Include="Framework\GitRelease.cs" />
- <Compile Include="Framework\UserSettings.cs" />
+ <Compile Include="Framework\Models\GitRelease.cs" />
+ <Compile Include="Framework\Models\UserSettings.cs" />
<Compile Include="IMonitor.cs" />
<Compile Include="Inheritance\ChangeType.cs" />
<Compile Include="Inheritance\ItemStackChange.cs" />