-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathModsPlusPlugin.cs
More file actions
35 lines (31 loc) · 1 KB
/
Copy pathModsPlusPlugin.cs
File metadata and controls
35 lines (31 loc) · 1 KB
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
35
using BepInEx;
using BepInEx.Logging;
using HarmonyLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ModsPlus
{
[BepInDependency("com.willis.rounds.unbound", BepInDependency.DependencyFlags.HardDependency)]
[BepInDependency("pykess.rounds.plugins.moddingutils", BepInDependency.DependencyFlags.HardDependency)]
[BepInPlugin(ModId, ModName, "1.6.0")]
[BepInProcess("Rounds.exe")]
public class ModsPlusPlugin : BaseUnityPlugin
{
public static ManualLogSource LOGGER { get => Instance.Logger; }
private static ModsPlusPlugin Instance { get; set; }
private const string ModId = "com.willis.rounds.modsplus";
private const string ModName = "Mods Plus";
void Awake()
{
Instance = this;
}
void Start()
{
var harmony = new Harmony(ModId);
harmony.PatchAll();
}
}
}