mirror of
https://github.com/Raicuparta/nomai-vr.git
synced 2025-12-11 20:15:08 +01:00
27 lines
776 B
C#
27 lines
776 B
C#
using OWML.Common;
|
|
using OWML.ModHelper;
|
|
using NomaiVR.Loaders.Harmony;
|
|
using NomaiVR.ModConfig;
|
|
|
|
namespace NomaiVR.Loaders
|
|
{
|
|
public class NomaiVRLoaderOwml : ModBehaviour
|
|
{
|
|
public static IModHelper Helper { get; private set; }
|
|
internal void Start()
|
|
{
|
|
NomaiVR.HarmonyInstance = new OwmlHarmonyInstance(ModHelper);
|
|
NomaiVR.ModFolderPath = Helper.Manifest.ModFolderPath;
|
|
NomaiVR.GameDataPath = Helper.OwmlConfig.DataPath;
|
|
NomaiVR.ApplyMod();
|
|
}
|
|
|
|
public override void Configure(IModConfig config)
|
|
{
|
|
Helper = ModHelper;
|
|
var settingsProvider = new OwmlSettingsProvider(config);
|
|
ModSettings.SetProvider(settingsProvider);
|
|
}
|
|
}
|
|
}
|