refactor(project): renamed project and namespace
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
using moe.yuyui.weebsights_port.Services;
|
||||
using SPTarkov.DI.Annotations;
|
||||
using SPTarkov.Server.Core.DI;
|
||||
using SPTarkov.Server.Core.Models.Enums;
|
||||
using SPTarkov.Server.Core.Models.Utils;
|
||||
using SPTarkov.Server.Core.Services;
|
||||
using WeebSights.Services;
|
||||
|
||||
namespace moe.yuyui.weebsights_port;
|
||||
namespace WeebSights;
|
||||
|
||||
[Injectable(TypePriority = OnLoadOrder.PostSptModLoader + 1)]
|
||||
public class Mod(ISptLogger<Mod> logger,
|
||||
@@ -1,6 +1,6 @@
|
||||
using SPTarkov.Server.Core.Models.Spt.Mod;
|
||||
|
||||
namespace moe.yuyui.weebsights_port;
|
||||
namespace WeebSights;
|
||||
|
||||
public record ModMetadata : AbstractModMetadata
|
||||
{
|
||||
@@ -16,5 +16,5 @@ public record ModMetadata : AbstractModMetadata
|
||||
public override string? Url { get; init; }
|
||||
public override bool? IsBundleMod { get; init; } = true;
|
||||
public override string? License { get; init; } = "MIT";
|
||||
public override string ModGuid { get; init; } = "moe.yuyui.weebsights-port";
|
||||
public override string ModGuid { get; init; } = "moe.yuyui.animesights-port";
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using SPTarkov.Server.Core.Models.Common;
|
||||
|
||||
namespace moe.yuyui.weebsights_port.Models;
|
||||
namespace WeebSights.Models;
|
||||
|
||||
public record WeebItemConfig()
|
||||
{
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using SPTarkov.Server.Core.Models.Common;
|
||||
|
||||
namespace moe.yuyui.weebsights_port.Models;
|
||||
namespace WeebSights.Models;
|
||||
|
||||
public record WeebLocaleConfig()
|
||||
{
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<RootNamespace>moe.yuyui.weebsights_port</RootNamespace>
|
||||
<RootNamespace>WeebSights</RootNamespace>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
@@ -1,16 +1,15 @@
|
||||
using moe.yuyui.weebsights_port.Models;
|
||||
using SPTarkov.DI.Annotations;
|
||||
using SPTarkov.Server.Core.DI;
|
||||
using SPTarkov.Server.Core.Models.Common;
|
||||
using SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
using SPTarkov.Server.Core.Models.Spt.Config;
|
||||
using SPTarkov.Server.Core.Models.Spt.Mod;
|
||||
using SPTarkov.Server.Core.Models.Utils;
|
||||
using SPTarkov.Server.Core.Services;
|
||||
using SPTarkov.Server.Core.Services.Mod;
|
||||
using SPTarkov.Server.Core.Utils;
|
||||
using WeebSights.Models;
|
||||
|
||||
namespace moe.yuyui.weebsights_port.Services;
|
||||
namespace WeebSights.Services;
|
||||
|
||||
[Injectable(TypePriority = OnLoadOrder.PostDBModLoader + 3)]
|
||||
public class WeebItemService(ISptLogger<WeebItemService> logger, JsonUtil jsonUtil, CustomItemService customItemService, DatabaseService databaseService)
|
||||
@@ -1,10 +1,10 @@
|
||||
using moe.yuyui.weebsights_port.Models;
|
||||
using SPTarkov.DI.Annotations;
|
||||
using SPTarkov.Server.Core.DI;
|
||||
using SPTarkov.Server.Core.Models.Common;
|
||||
using SPTarkov.Server.Core.Utils;
|
||||
using WeebSights.Models;
|
||||
|
||||
namespace moe.yuyui.weebsights_port.Services;
|
||||
namespace WeebSights.Services;
|
||||
|
||||
[Injectable(TypePriority = OnLoadOrder.PostDBModLoader + 4)]
|
||||
public class WeebLocaleService(JsonUtil jsonUtil)
|
||||
@@ -8,7 +8,7 @@ using SPTarkov.Server.Core.Models.Spt.Mod;
|
||||
using SPTarkov.Server.Core.Models.Utils;
|
||||
using SPTarkov.Server.Core.Services;
|
||||
|
||||
namespace moe.yuyui.weebsights_port.Services;
|
||||
namespace WeebSights.Services;
|
||||
|
||||
[Injectable(TypePriority = OnLoadOrder.PostDBModLoader + 2)]
|
||||
public class WeebTraderService(ISptLogger<WeebTraderService> logger, DatabaseService databaseService)
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "moe.yuyui.weebsights-port", "moe.yuyui.weebsights-port\moe.yuyui.weebsights-port.csproj", "{D2A6BE7F-0C34-4655-88EF-BC319CD2C069}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Server", "Server\Server.csproj", "{D2A6BE7F-0C34-4655-88EF-BC319CD2C069}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
||||
Reference in New Issue
Block a user