diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-05-11 23:21:02 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-05-11 23:21:02 -0400 |
commit | bb165f2079e33d02c0e673db73ac5b336272a3fa (patch) | |
tree | 339ea1fa033070c470d5ac2a19698c63a49dd611 /src/StardewModdingAPI | |
parent | dc4ad15afee05cd3c474273f921314cb0656d76c (diff) | |
download | SMAPI-bb165f2079e33d02c0e673db73ac5b336272a3fa.tar.gz SMAPI-bb165f2079e33d02c0e673db73ac5b336272a3fa.tar.bz2 SMAPI-bb165f2079e33d02c0e673db73ac5b336272a3fa.zip |
organise a few framework classes
Diffstat (limited to 'src/StardewModdingAPI')
-rw-r--r-- | src/StardewModdingAPI/Framework/ModLoading/AssemblyDefinitionResolver.cs (renamed from src/StardewModdingAPI/Framework/AssemblyDefinitionResolver.cs) | 2 | ||||
-rw-r--r-- | src/StardewModdingAPI/Framework/ModLoading/AssemblyLoader.cs (renamed from src/StardewModdingAPI/Framework/AssemblyLoader.cs) | 2 | ||||
-rw-r--r-- | src/StardewModdingAPI/Framework/ModLoading/AssemblyParseResult.cs (renamed from src/StardewModdingAPI/Framework/AssemblyParseResult.cs) | 2 | ||||
-rw-r--r-- | src/StardewModdingAPI/Framework/ModLoading/ModMetadata.cs (renamed from src/StardewModdingAPI/Framework/ModMetadata.cs) | 2 | ||||
-rw-r--r-- | src/StardewModdingAPI/Framework/Models/Manifest.cs (renamed from src/StardewModdingAPI/Framework/Manifest.cs) | 3 | ||||
-rw-r--r-- | src/StardewModdingAPI/Mod.cs | 1 | ||||
-rw-r--r-- | src/StardewModdingAPI/Program.cs | 1 | ||||
-rw-r--r-- | src/StardewModdingAPI/StardewModdingAPI.csproj | 10 |
8 files changed, 12 insertions, 11 deletions
diff --git a/src/StardewModdingAPI/Framework/AssemblyDefinitionResolver.cs b/src/StardewModdingAPI/Framework/ModLoading/AssemblyDefinitionResolver.cs index b4e69fcd..4378798c 100644 --- a/src/StardewModdingAPI/Framework/AssemblyDefinitionResolver.cs +++ b/src/StardewModdingAPI/Framework/ModLoading/AssemblyDefinitionResolver.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using Mono.Cecil; -namespace StardewModdingAPI.Framework +namespace StardewModdingAPI.Framework.ModLoading { /// <summary>A minimal assembly definition resolver which resolves references to known assemblies.</summary> internal class AssemblyDefinitionResolver : DefaultAssemblyResolver diff --git a/src/StardewModdingAPI/Framework/AssemblyLoader.cs b/src/StardewModdingAPI/Framework/ModLoading/AssemblyLoader.cs index 2c9973c1..42bd7bfb 100644 --- a/src/StardewModdingAPI/Framework/AssemblyLoader.cs +++ b/src/StardewModdingAPI/Framework/ModLoading/AssemblyLoader.cs @@ -7,7 +7,7 @@ using Mono.Cecil; using Mono.Cecil.Cil; using StardewModdingAPI.AssemblyRewriters; -namespace StardewModdingAPI.Framework +namespace StardewModdingAPI.Framework.ModLoading { /// <summary>Preprocesses and loads mod assemblies.</summary> internal class AssemblyLoader diff --git a/src/StardewModdingAPI/Framework/AssemblyParseResult.cs b/src/StardewModdingAPI/Framework/ModLoading/AssemblyParseResult.cs index bff976aa..69c99afe 100644 --- a/src/StardewModdingAPI/Framework/AssemblyParseResult.cs +++ b/src/StardewModdingAPI/Framework/ModLoading/AssemblyParseResult.cs @@ -1,7 +1,7 @@ using System.IO; using Mono.Cecil; -namespace StardewModdingAPI.Framework +namespace StardewModdingAPI.Framework.ModLoading { /// <summary>Metadata about a parsed assembly definition.</summary> internal class AssemblyParseResult diff --git a/src/StardewModdingAPI/Framework/ModMetadata.cs b/src/StardewModdingAPI/Framework/ModLoading/ModMetadata.cs index aeb9261a..1ac167dc 100644 --- a/src/StardewModdingAPI/Framework/ModMetadata.cs +++ b/src/StardewModdingAPI/Framework/ModLoading/ModMetadata.cs @@ -1,6 +1,6 @@ using StardewModdingAPI.Framework.Models; -namespace StardewModdingAPI.Framework +namespace StardewModdingAPI.Framework.ModLoading { /// <summary>Metadata for a mod.</summary> internal class ModMetadata diff --git a/src/StardewModdingAPI/Framework/Manifest.cs b/src/StardewModdingAPI/Framework/Models/Manifest.cs index 62c711e2..79be2075 100644 --- a/src/StardewModdingAPI/Framework/Manifest.cs +++ b/src/StardewModdingAPI/Framework/Models/Manifest.cs @@ -1,10 +1,9 @@ using System; using System.Collections.Generic; using Newtonsoft.Json; -using Newtonsoft.Json.Linq; using StardewModdingAPI.Framework.Serialisation; -namespace StardewModdingAPI.Framework +namespace StardewModdingAPI.Framework.Models { /// <summary>A manifest which describes a mod for SMAPI.</summary> internal class Manifest : IManifest diff --git a/src/StardewModdingAPI/Mod.cs b/src/StardewModdingAPI/Mod.cs index a3169fb3..a65b135c 100644 --- a/src/StardewModdingAPI/Mod.cs +++ b/src/StardewModdingAPI/Mod.cs @@ -1,6 +1,7 @@ using System; using System.IO; using StardewModdingAPI.Framework; +using StardewModdingAPI.Framework.Models; namespace StardewModdingAPI { diff --git a/src/StardewModdingAPI/Program.cs b/src/StardewModdingAPI/Program.cs index a5bd7788..b8d70ad7 100644 --- a/src/StardewModdingAPI/Program.cs +++ b/src/StardewModdingAPI/Program.cs @@ -15,6 +15,7 @@ using StardewModdingAPI.Events; using StardewModdingAPI.Framework; using StardewModdingAPI.Framework.Logging; using StardewModdingAPI.Framework.Models; +using StardewModdingAPI.Framework.ModLoading; using StardewModdingAPI.Framework.Reflection; using StardewModdingAPI.Framework.Serialisation; using StardewValley; diff --git a/src/StardewModdingAPI/StardewModdingAPI.csproj b/src/StardewModdingAPI/StardewModdingAPI.csproj index 69c167c9..aec32560 100644 --- a/src/StardewModdingAPI/StardewModdingAPI.csproj +++ b/src/StardewModdingAPI/StardewModdingAPI.csproj @@ -144,8 +144,8 @@ <Compile Include="Events\EventArgsStringChanged.cs" /> <Compile Include="Events\GameEvents.cs" /> <Compile Include="Events\GraphicsEvents.cs" /> - <Compile Include="Framework\AssemblyDefinitionResolver.cs" /> - <Compile Include="Framework\AssemblyParseResult.cs" /> + <Compile Include="Framework\ModLoading\AssemblyDefinitionResolver.cs" /> + <Compile Include="Framework\ModLoading\AssemblyParseResult.cs" /> <Compile Include="Framework\CommandManager.cs" /> <Compile Include="Framework\ContentHelper.cs" /> <Compile Include="Framework\Content\ContentEventData.cs" /> @@ -158,7 +158,7 @@ <Compile Include="Framework\CommandHelper.cs" /> <Compile Include="Framework\Models\ModCompatibilityType.cs" /> <Compile Include="Framework\Models\SConfig.cs" /> - <Compile Include="Framework\ModMetadata.cs" /> + <Compile Include="Framework\ModLoading\ModMetadata.cs" /> <Compile Include="Framework\Reflection\PrivateProperty.cs" /> <Compile Include="Framework\RequestExitDelegate.cs" /> <Compile Include="Framework\SContentManager.cs" /> @@ -182,7 +182,7 @@ <Compile Include="Framework\DeprecationManager.cs" /> <Compile Include="Framework\InternalExtensions.cs" /> <Compile Include="Framework\Models\ModCompatibility.cs" /> - <Compile Include="Framework\AssemblyLoader.cs" /> + <Compile Include="Framework\ModLoading\AssemblyLoader.cs" /> <Compile Include="Framework\Reflection\CacheEntry.cs" /> <Compile Include="Framework\Reflection\PrivateField.cs" /> <Compile Include="Framework\Reflection\PrivateMethod.cs" /> @@ -202,7 +202,7 @@ <Compile Include="Events\ItemStackChange.cs" /> <Compile Include="Log.cs" /> <Compile Include="Framework\Monitor.cs" /> - <Compile Include="Framework\Manifest.cs" /> + <Compile Include="Framework\Models\Manifest.cs" /> <Compile Include="Mod.cs" /> <Compile Include="Framework\ModHelper.cs" /> <Compile Include="PatchMode.cs" /> |