-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBarrelRoll.cs
More file actions
24 lines (21 loc) · 830 Bytes
/
BarrelRoll.cs
File metadata and controls
24 lines (21 loc) · 830 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using BepInEx;
using HarmonyLib;
namespace Jamesthe1.BarrelRoll {
[BepInPlugin (pluginGuid, pluginName, pluginVersion)]
[BepInProcess ("dyingsun.exe")]
public class BarrelRoll : BaseUnityPlugin {
// Variables so other classes and this one may use them
public const string pluginGuid = "jamesthe1.hotds.barrelroll";
public const string pluginName = "BarrelRoll";
public const string pluginVersion = "1.0.0.0";
void Awake () {
InitHarmony ();
Logger.LogInfo (pluginName + " has fully loaded and is ready to go!");
}
private void InitHarmony () {
Harmony harmony = new Harmony (pluginGuid);
Logger.LogInfo ("Patching with harmony...");
harmony.PatchAll ();
}
}
}