From 61f688a40a427b498d534ac673cc41627d20f7a9 Mon Sep 17 00:00:00 2001 From: Yui Date: Mon, 3 Nov 2025 15:35:12 -0300 Subject: [PATCH] chore(git): initial commit --- .gitignore | 5 +++++ .idea/.idea.WeebSights-Port/.idea/.gitignore | 13 ++++++++++++ .../.idea/copilot.data.migration.agent.xml | 6 ++++++ .../.idea.WeebSights-Port/.idea/encodings.xml | 4 ++++ .../.idea/indexLayout.xml | 8 ++++++++ .idea/.idea.WeebSights-Port/.idea/vcs.xml | 6 ++++++ WeebSights-Port.sln | 16 +++++++++++++++ moe.yuyui.weebsights-port/Mod.cs | 15 ++++++++++++++ moe.yuyui.weebsights-port/ModMetadata.cs | 20 +++++++++++++++++++ .../moe.yuyui.weebsights-port.csproj | 14 +++++++++++++ 10 files changed, 107 insertions(+) create mode 100644 .gitignore create mode 100644 .idea/.idea.WeebSights-Port/.idea/.gitignore create mode 100644 .idea/.idea.WeebSights-Port/.idea/copilot.data.migration.agent.xml create mode 100644 .idea/.idea.WeebSights-Port/.idea/encodings.xml create mode 100644 .idea/.idea.WeebSights-Port/.idea/indexLayout.xml create mode 100644 .idea/.idea.WeebSights-Port/.idea/vcs.xml create mode 100644 WeebSights-Port.sln create mode 100644 moe.yuyui.weebsights-port/Mod.cs create mode 100644 moe.yuyui.weebsights-port/ModMetadata.cs create mode 100644 moe.yuyui.weebsights-port/moe.yuyui.weebsights-port.csproj diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..add57be --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +bin/ +obj/ +/packages/ +riderModule.iml +/_ReSharper.Caches/ \ No newline at end of file diff --git a/.idea/.idea.WeebSights-Port/.idea/.gitignore b/.idea/.idea.WeebSights-Port/.idea/.gitignore new file mode 100644 index 0000000..5c3da6a --- /dev/null +++ b/.idea/.idea.WeebSights-Port/.idea/.gitignore @@ -0,0 +1,13 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Rider ignored files +/projectSettingsUpdater.xml +/.idea.WeebSights-Port.iml +/modules.xml +/contentModel.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/.idea.WeebSights-Port/.idea/copilot.data.migration.agent.xml b/.idea/.idea.WeebSights-Port/.idea/copilot.data.migration.agent.xml new file mode 100644 index 0000000..4ea72a9 --- /dev/null +++ b/.idea/.idea.WeebSights-Port/.idea/copilot.data.migration.agent.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/.idea.WeebSights-Port/.idea/encodings.xml b/.idea/.idea.WeebSights-Port/.idea/encodings.xml new file mode 100644 index 0000000..df87cf9 --- /dev/null +++ b/.idea/.idea.WeebSights-Port/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/.idea.WeebSights-Port/.idea/indexLayout.xml b/.idea/.idea.WeebSights-Port/.idea/indexLayout.xml new file mode 100644 index 0000000..7b08163 --- /dev/null +++ b/.idea/.idea.WeebSights-Port/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/.idea.WeebSights-Port/.idea/vcs.xml b/.idea/.idea.WeebSights-Port/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/.idea.WeebSights-Port/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/WeebSights-Port.sln b/WeebSights-Port.sln new file mode 100644 index 0000000..3e55a0a --- /dev/null +++ b/WeebSights-Port.sln @@ -0,0 +1,16 @@ + +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}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D2A6BE7F-0C34-4655-88EF-BC319CD2C069}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D2A6BE7F-0C34-4655-88EF-BC319CD2C069}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D2A6BE7F-0C34-4655-88EF-BC319CD2C069}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D2A6BE7F-0C34-4655-88EF-BC319CD2C069}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/moe.yuyui.weebsights-port/Mod.cs b/moe.yuyui.weebsights-port/Mod.cs new file mode 100644 index 0000000..4062708 --- /dev/null +++ b/moe.yuyui.weebsights-port/Mod.cs @@ -0,0 +1,15 @@ +using SPTarkov.DI.Annotations; +using SPTarkov.Server.Core.DI; +using SPTarkov.Server.Core.Models.Utils; + +namespace moe.yuyui.weebsights_port; + +[Injectable(TypePriority = OnLoadOrder.PostSptModLoader)] +public class Mod(ISptLogger logger): IOnLoad +{ + public Task OnLoad() + { + logger.Success("[Weeb Iron Sights] Items loaded successfully"); + return Task.CompletedTask; + } +} \ No newline at end of file diff --git a/moe.yuyui.weebsights-port/ModMetadata.cs b/moe.yuyui.weebsights-port/ModMetadata.cs new file mode 100644 index 0000000..82a1434 --- /dev/null +++ b/moe.yuyui.weebsights-port/ModMetadata.cs @@ -0,0 +1,20 @@ +using SPTarkov.Server.Core.Models.Spt.Mod; + +namespace moe.yuyui.weebsights_port; + +public record ModMetadata : AbstractModMetadata +{ + public override string Name { get; init; } = "Weeb Iron Sights"; + public override string Author { get; init; } = "yuyui.moe"; + public override List? Contributors { get; init; } = ["SamSWAT"]; + public override SemanticVersioning.Version Version { get; init; } = new("1.0.0"); + public override SemanticVersioning.Range SptVersion { get; init; } = new("~4.0.0"); + + + public override List? Incompatibilities { get; init; } + public override Dictionary? ModDependencies { get; init; } + 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"; +} \ No newline at end of file diff --git a/moe.yuyui.weebsights-port/moe.yuyui.weebsights-port.csproj b/moe.yuyui.weebsights-port/moe.yuyui.weebsights-port.csproj new file mode 100644 index 0000000..e6254f8 --- /dev/null +++ b/moe.yuyui.weebsights-port/moe.yuyui.weebsights-port.csproj @@ -0,0 +1,14 @@ + + + + net9.0 + moe.yuyui.weebsights_port + enable + enable + + + + + + +