Due to update 2.4.3, some mods may no longer function. FixedConfig may be necessary.
Decompiled source of DeadlyDash v1.0.0
DeadlyDash.dll
Decompiled a year agousing System; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using HarmonyLib; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("Deadly_Dash")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Deadly_Dash")] [assembly: AssemblyCopyright("Copyright © 2024")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("759e8518-c51a-4b4e-ac73-e249eddd9889")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.6.2", FrameworkDisplayName = ".NET Framework 4.6.2")] [assembly: AssemblyVersion("1.0.0.0")] namespace Deadly_Dash; [BepInPlugin("com.000diggity000.Deadly_Dash", "Deadly Dash", "1.0.0")] public class Plugin : BaseUnityPlugin { public class Patches { public static bool Awake_Ability_Plug(Ability __instance) { GameObject gameObject = ((Component)__instance).gameObject; if (Object.op_Implicit((Object)(object)gameObject.gameObject.GetComponent<Dash>())) { __instance.KillPlayersOnContact = true; } return true; } } private void Awake() { //IL_0017: Unknown result type (might be due to invalid IL or missing references) //IL_001d: Expected O, but got Unknown //IL_004e: Unknown result type (might be due to invalid IL or missing references) //IL_005c: Expected O, but got Unknown ((BaseUnityPlugin)this).Logger.LogInfo((object)"Plugin Deadly Dash is loaded!"); Harmony val = new Harmony("com.000diggity000.Deadly_Dash"); MethodInfo methodInfo = AccessTools.Method(typeof(Ability), "Awake", (Type[])null, (Type[])null); MethodInfo methodInfo2 = AccessTools.Method(typeof(Patches), "Awake_Ability_Plug", (Type[])null, (Type[])null); val.Patch((MethodBase)methodInfo, new HarmonyMethod(methodInfo2), (HarmonyMethod)null, (HarmonyMethod)null, (HarmonyMethod)null, (HarmonyMethod)null); } }