-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPlugin.cs
34 lines (28 loc) · 1.04 KB
/
Plugin.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using BepInEx;
using HarmonyLib;
using BepInEx.Logging;
using NaturalProgression.Patches;
using GameNetcodeStuff;
namespace NaturalProgression
{
[BepInPlugin(modGUID, modName, modVersion)]
internal class NaturalProgressionMod : BaseUnityPlugin
{
private const string modAuthor = "derrickorama";
private const string modGUID = "derrickorama.NaturalProgression";
private const string modName = "Natural Progression";
private const string modVersion = "0.1.0";
private readonly Harmony harmony = new Harmony(modGUID);
public static ManualLogSource mls;
internal static NaturalProgressionMod Instance { get; private set; }
internal static PlayerControllerB playerRef;
private void Awake()
{
Instance = this;
mls = BepInEx.Logging.Logger.CreateLogSource(modGUID);
mls.LogInfo("Patching");
harmony.PatchAll(typeof(NaturalProgressionMod));
harmony.PatchAll(typeof(PlayerControllerBPatch));
}
}
}