chore(git): initial commit

This commit is contained in:
Yui
2025-11-03 15:35:12 -03:00
commit 61f688a40a
10 changed files with 107 additions and 0 deletions

5
.gitignore vendored Normal file
View File

@@ -0,0 +1,5 @@
bin/
obj/
/packages/
riderModule.iml
/_ReSharper.Caches/

13
.idea/.idea.WeebSights-Port/.idea/.gitignore generated vendored Normal file
View File

@@ -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

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AgentMigrationStateService">
<option name="migrationStatus" value="COMPLETED" />
</component>
</project>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
</project>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="UserContentModel">
<attachedFolders />
<explicitIncludes />
<explicitExcludes />
</component>
</project>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

16
WeebSights-Port.sln Normal file
View File

@@ -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

View File

@@ -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<Mod> logger): IOnLoad
{
public Task OnLoad()
{
logger.Success("[Weeb Iron Sights] Items loaded successfully");
return Task.CompletedTask;
}
}

View File

@@ -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<string>? 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<string>? Incompatibilities { get; init; }
public override Dictionary<string, SemanticVersioning.Range>? 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";
}

View File

@@ -0,0 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<RootNamespace>moe.yuyui.weebsights_port</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="SPTarkov.Server.Core" Version="4.0.3" />
</ItemGroup>
</Project>