Decompiled source of AAC Honey Badger v1.0.2

AAC_Honey_Badger.dll

Decompiled 7 months ago
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using BepInEx.Logging;
using HarmonyLib;
using OtherLoader;
using Sodalite.Api;

[assembly: Debuggable(DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("0.0.0.0")]
[module: UnverifiableCode]
namespace F_Fillet.AAC_Honey_Badger;

[BepInPlugin("F_Fillet.AAC_Honey_Badger", "AAC_Honey_Badger", "1.0.2")]
[BepInProcess("h3vr.exe")]
[Description("Built with MeatKit")]
[BepInDependency("h3vr.otherloader", "1.1.3")]
[BepInDependency("h3vr.cityrobo.prefab_replacer", "1.0.0")]
[BepInDependency("nrgill28.Sodalite", "1.4.1")]
public class AAC_Honey_BadgerPlugin : BaseUnityPlugin
{
	private static readonly string BasePath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);

	internal static ManualLogSource Logger;

	private void Awake()
	{
		Logger = ((BaseUnityPlugin)this).Logger;
		LoadAssets();
	}

	private void LoadAssets()
	{
		Harmony.CreateAndPatchAll(Assembly.GetExecutingAssembly(), "F_Fillet.AAC_Honey_Badger");
		GameAPI.PreloadAllAssets(Path.Combine(BasePath, "pr_aac_honey_badger"));
		OtherLoader.RegisterDirectLoad(BasePath, "F_Fillet.AAC_Honey_Badger", "", "", "aac honey badger", "");
	}
}