2023-03-03 18:52:31 +00:00
|
|
|
|
using System;
|
2023-06-21 13:43:15 +03:00
|
|
|
|
using Aki.Common;
|
2023-03-03 18:52:31 +00:00
|
|
|
|
using Aki.Debugging.Patches;
|
|
|
|
|
using BepInEx;
|
|
|
|
|
|
|
|
|
|
namespace Aki.Debugging
|
|
|
|
|
{
|
2023-06-21 13:43:15 +03:00
|
|
|
|
[BepInPlugin("com.spt-aki.debugging", "AKI.Debugging", AkiPluginInfo.PLUGIN_VERSION)]
|
2023-03-03 18:52:31 +00:00
|
|
|
|
public class AkiDebuggingPlugin : BaseUnityPlugin
|
|
|
|
|
{
|
2023-11-14 18:49:42 +00:00
|
|
|
|
public void Awake()
|
2023-03-03 18:52:31 +00:00
|
|
|
|
{
|
|
|
|
|
Logger.LogInfo("Loading: Aki.Debugging");
|
|
|
|
|
|
|
|
|
|
try
|
|
|
|
|
{
|
2023-10-10 10:58:33 +00:00
|
|
|
|
new EndRaidDebug().Enable();
|
2023-12-28 15:15:54 +00:00
|
|
|
|
// new CoordinatesPatch().Enable();
|
2024-01-03 16:06:50 +00:00
|
|
|
|
// new StaticLootDumper().Enable();
|
2024-03-05 20:21:31 +00:00
|
|
|
|
new DebugLogoPatch().Enable();
|
|
|
|
|
new DebugLogoPatch2().Enable();
|
2024-01-08 08:53:35 +00:00
|
|
|
|
|
2024-01-23 08:47:09 +00:00
|
|
|
|
// BTR debug command patches, can be disabled later
|
|
|
|
|
//new BTRDebugCommandPatch().Enable();
|
|
|
|
|
//new BTRDebugDataPatch().Enable();
|
2024-01-18 14:35:59 +00:00
|
|
|
|
|
2024-01-20 20:29:02 +00:00
|
|
|
|
//new PMCBotSpawnLocationPatch().Enable();
|
2023-03-03 18:52:31 +00:00
|
|
|
|
}
|
|
|
|
|
catch (Exception ex)
|
|
|
|
|
{
|
|
|
|
|
Logger.LogError($"{GetType().Name}: {ex}");
|
|
|
|
|
throw;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Logger.LogInfo("Completed: Aki.Debugging");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|