Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace StarMap.API.Interfaces
namespace StarMap.API.Services
{
public interface IModMenuService
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using System.Text;
using static System.Runtime.InteropServices.JavaScript.JSType;

namespace StarMap.API.Interfaces
namespace StarMap.API.Services
{

public interface IPatchService
Expand Down
5 changes: 1 addition & 4 deletions StarMap.Core/API/ModContext.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using StarMap.Core.ModRepository;
using System;
using System.Collections.Generic;
using System.Text;

namespace StarMap.Core.API
{
Expand All @@ -10,7 +7,7 @@ internal interface IModContext
RuntimeMod Mod { get; set; }
}

internal sealed class ModContext: IModContext
internal sealed class ModContext : IModContext
{
public RuntimeMod Mod { get; set; } = null!;
}
Expand Down
5 changes: 1 addition & 4 deletions StarMap.Core/API/ModMenuService.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using StarMap.API.Interfaces;
using StarMap.API.Services;
using StarMap.Core.UI;
using System;
using System.Collections.Generic;
using System.Text;

namespace StarMap.Core.API
{
Expand Down
3 changes: 1 addition & 2 deletions StarMap.Core/API/PatchService.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

using StarMap.API.Interfaces;
using StarMap.API.Services;
using StarMap.Core.Patches;
using System.Reflection;

Expand Down
11 changes: 3 additions & 8 deletions StarMap.Core/Config/StarMapConfig.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace StarMap.Core.Config
namespace StarMap.Core.Config
{
internal class RootConfig
{
internal class RootConfig
{
public required StarMapConfig StarMap { get; set; }
}


internal class StarMapConfig
{
public required string EntryAssembly { get; set; }
Expand Down
286 changes: 0 additions & 286 deletions StarMap.Core/Legacy/ModManagerScreen.cs

This file was deleted.

3 changes: 1 addition & 2 deletions StarMap.Core/ModRepository/ModAssemblyLoadContext.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using KSA;
using System.Reflection;
using System.Reflection;
using System.Runtime.Loader;

namespace StarMap.Core.ModRepository
Expand Down
4 changes: 1 addition & 3 deletions StarMap.Core/ModRepository/ModRegistry.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using KSA;
using StarMap.API;
using StarMap.Core.Config;
using StarMap.API;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;

Expand Down
Loading
Loading