mirror of
https://github.com/TheJordanDev/PEAK-JordanMod.git
synced 2026-06-06 03:23:29 +02:00
Added : Config handler
This commit is contained in:
@@ -2,4 +2,5 @@
|
|||||||
|
|
||||||
- Initial project setup
|
- Initial project setup
|
||||||
- Added config dependency
|
- Added config dependency
|
||||||
- Added utils and debug functions
|
- Added utils and debug functions
|
||||||
|
- Added config handler
|
||||||
14
src/JordanMod/ConfigHandler.cs
Normal file
14
src/JordanMod/ConfigHandler.cs
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
using BepInEx.Configuration;
|
||||||
|
|
||||||
|
namespace JordanMod;
|
||||||
|
|
||||||
|
public static class ConfigHandler
|
||||||
|
{
|
||||||
|
public static ConfigFile Config { get; private set; } = null!;
|
||||||
|
|
||||||
|
public static void Initialize(ConfigFile configFile)
|
||||||
|
{
|
||||||
|
Config = configFile;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user