chore(git): initial commit
This commit is contained in:
15
moe.yuyui.weebsights-port/Mod.cs
Normal file
15
moe.yuyui.weebsights-port/Mod.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
20
moe.yuyui.weebsights-port/ModMetadata.cs
Normal file
20
moe.yuyui.weebsights-port/ModMetadata.cs
Normal 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";
|
||||
}
|
||||
14
moe.yuyui.weebsights-port/moe.yuyui.weebsights-port.csproj
Normal file
14
moe.yuyui.weebsights-port/moe.yuyui.weebsights-port.csproj
Normal 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>
|
||||
Reference in New Issue
Block a user