Skip to content

Commit

Permalink
Move Settings related types to DataFeeds sub-namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Banane9 committed Aug 24, 2024
1 parent ddf5da3 commit 0ed5e08
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using System.Linq;
using System.Reflection;

namespace MonkeyLoader.Resonite.Configuration
namespace MonkeyLoader.Resonite.DataFeeds.Settings
{
internal sealed class ModSettingStandaloneFacet : ResoniteMonkey<ModSettingStandaloneFacet>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using MonkeyLoader.Logging;
using MonkeyLoader.Meta;
using MonkeyLoader.Patching;
using MonkeyLoader.Resonite.DataFeeds;
using MonkeyLoader.Resonite.Configuration;
using System;
using System.Collections.Generic;
using System.IO;
Expand All @@ -18,7 +18,7 @@
using System.Text;
using System.Threading.Tasks;

namespace MonkeyLoader.Resonite.Configuration
namespace MonkeyLoader.Resonite.DataFeeds.Settings
{
[HarmonyPatch(typeof(SettingsDataFeed))]
[HarmonyPatchCategory(nameof(SettingsDataFeedInjector))]
Expand Down Expand Up @@ -141,7 +141,7 @@ protected override bool OnEngineReady()
var monkeyLoaderCategory = new SettingCategoryInfo(OfficialAssets.Graphics.Icons.Dash.Tools, 255);
monkeyLoaderCategory.InitKey("MonkeyLoader");

Settings._categoryInfos.Add(monkeyLoaderCategory.Key, monkeyLoaderCategory);
FrooxEngine.Settings._categoryInfos.Add(monkeyLoaderCategory.Key, monkeyLoaderCategory);

return base.OnEngineReady();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using System.Text;
using System.Threading.Tasks;

namespace MonkeyLoader.Resonite.Configuration
namespace MonkeyLoader.Resonite.DataFeeds.Settings
{
internal sealed class SettingsFallbackLocaleGenerator : ResoniteAsyncEventHandlerMonkey<SettingsFallbackLocaleGenerator, FallbackLocaleGenerationEvent>
{
Expand Down

0 comments on commit 0ed5e08

Please sign in to comment.