-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPlugin.cs
41 lines (32 loc) · 923 Bytes
/
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
35
36
37
38
39
40
41
using BepInEx;
using BepInEx.Logging;
using GameNetcodeStuff;
using HarmonyLib;
using LethalCompanyMods.Patches;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace ScannablePlayersMod
{
[BepInPlugin(modGUID, modName, modVersion)]
public class ModBase : BaseUnityPlugin
{
private const string modGUID = "Obsidian.Lithium.ScannablePlayers";
private const string modName = "Lithium";
private const string modVersion = "1.0.0";
private readonly Harmony harmony = new Harmony(modGUID);
private static ModBase Instance;
internal ManualLogSource mls;
void Awake()
{
if (Instance == null)
{
Instance = this;
}
harmony.PatchAll(Assembly.GetExecutingAssembly());
}
}
}