Files
SPT-Server-Build/ModExamples/12Bundle/Bundle.cs
T
2025-02-10 19:40:35 +00:00

25 lines
432 B
C#

using System.Reflection;
using Core.Loaders;
using Core.Models.External;
using SptCommon.Annotations;
namespace _12Bundle;
[Injectable]
public class Bundle : IPostDBLoadMod
{
private readonly BundleLoader _bundleLoader;
public Bundle(
BundleLoader bundleLoader)
{
_bundleLoader = bundleLoader;
}
public void PostDBLoad()
{
_bundleLoader.AddBundles("/user/mods/Mod3");
}
}