Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Decompiled source of SapsuckerDefaultBody v1.0.1
BepInEx/plugins/SapsuckerDefaultBody.dll
Decompiled 11 months agousing System; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using BepInEx; using BepInEx.Logging; using HarmonyLib; using Mono.Cecil.Cil; using MonoMod.Cil; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("0.0.0.0")] namespace huluoboSapsuckerDefaultBody; [BepInPlugin("hlb.SapsuckerDefaultBody", "SapsuckerDefaultBody", "1.0.0")] public class huluoboSapsuckerDefaultBodyd : BaseUnityPlugin { internal class SapsuckerDefaultBodys { [HarmonyPatch(typeof(GiantKiwiAI), "AnimationEventB")] [HarmonyILManipulator] private static void UpdateILManipulator(ILContext il) { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0008: Expected O, but got Unknown ILCursor val = new ILCursor(il); while (val.TryGotoNext(new Func<Instruction, bool>[1] { (Instruction x) => ILPatternMatchingExt.MatchLdcI4(x, 9) })) { val.Next.Operand = 0; } } } private const string GUID = "hlb.SapsuckerDefaultBody"; private const string Name = "SapsuckerDefaultBody"; private const string Version = "1.0.0"; private Harmony harmony; public static ManualLogSource mls; private void Awake() { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Expected O, but got Unknown mls = Logger.CreateLogSource("hlb.SapsuckerDefaultBody"); harmony = new Harmony("hlb.SapsuckerDefaultBody"); harmony.PatchAll(typeof(SapsuckerDefaultBodys)); } }