0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 09:10:44 -05:00
modules/project/Aki.Debugging/AkiDebuggingPlugin.cs

49 lines
1.6 KiB
C#
Raw Normal View History

2023-03-03 18:52:31 +00:00
using System;
using Aki.Common;
using Aki.Debugging.BTR.Patches;
2023-03-03 18:52:31 +00:00
using Aki.Debugging.Patches;
using BepInEx;
namespace Aki.Debugging
{
[BepInPlugin("com.spt-aki.debugging", "AKI.Debugging", AkiPluginInfo.PLUGIN_VERSION)]
2023-03-03 18:52:31 +00:00
public class AkiDebuggingPlugin : BaseUnityPlugin
{
public void Awake()
2023-03-03 18:52:31 +00:00
{
Logger.LogInfo("Loading: Aki.Debugging");
try
{
new EndRaidDebug().Enable();
2023-12-28 15:15:54 +00:00
// new CoordinatesPatch().Enable();
// new StaticLootDumper().Enable();
new BTRPathLoadPatch().Enable();
new BTRActivateTraderDialogPatch().Enable();
new BTRInteractionPatch().Enable();
new BTRExtractPassengersPatch().Enable();
new BTRBotAttachPatch().Enable();
new BTRBotInitPatch().Enable();
new BTRReceiveDamageInfoPatch().Enable();
new BTRTurretCanShootPatch().Enable();
new BTRTurretDefaultAimingPositionPatch().Enable();
new BTRIsDoorsClosedPath().Enable();
new BTRPatch().Enable();
new BTRTransferItemsPatch().Enable();
new BTREndRaidItemDeliveryPatch().Enable();
// Debug command patches, can be disabled later
new BTRDebugCommandPatch().Enable();
new BTRDebugDataPatch().Enable();
2023-03-03 18:52:31 +00:00
}
catch (Exception ex)
{
Logger.LogError($"{GetType().Name}: {ex}");
throw;
}
Logger.LogInfo("Completed: Aki.Debugging");
}
}
}