-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPermaPings.cs
41 lines (30 loc) · 1016 Bytes
/
PermaPings.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 R2API;
using RoR2;
using System.IO;
using System.Reflection;
using System;
using UnityEngine;
using RiskOfOptions;
namespace PermaPings {
[BepInPlugin(PluginGUID, PluginName, PluginVersion)]
[BepInDependency("com.rune580.riskofoptions", BepInDependency.DependencyFlags.SoftDependency)]
public class PermaPings : BaseUnityPlugin {
public const string PluginGUID = "kyryh.permapings";
public const string PluginName = "PermaPings";
public const string PluginVersion = "1.0.0";
public static BepInEx.Logging.ManualLogSource Log { get; private set; }
private void Awake() {
Log = Logger;
PermaPingsConfig.Init(Config);
Hooks.Init();
Logger.LogInfo($"Plugin {PluginGUID} is loaded!");
}
public static void LogDebug(object data) {
Log.LogDebug(data);
}
public static void LogError(object data) {
Log.LogError(data);
}
}
}