Decompiled source of JiggleRun v1.0.0

JiggleRun.dll

Decompiled a month ago
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using BepInEx;
using BepInEx.Logging;
using Bobi.patches;
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("Bobi")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Bobi")]
[assembly: AssemblyCopyright("Copyright ©  2025")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("4997e060-9561-4c6c-b591-f80c74579eee")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace Bobi
{
	[BepInPlugin("JiggleRun.mod", "JiggleRun", "1.0")]
	public class JiggleRun : BaseUnityPlugin
	{
		public const string pluginGuid = "JiggleRun.mod";

		public const string pluginName = "JiggleRun";

		public const string pluginVersion = "1.0";

		private readonly Harmony harmony = new Harmony("JiggleRun.mod");

		private static JiggleRun Instance;

		internal ManualLogSource mls;

		public void Awake()
		{
			if (Object.op_Implicit((Object)(object)(Instance = null)))
			{
				Instance = this;
			}
			mls = Logger.CreateLogSource("JiggleRun.mod");
			harmony.PatchAll(typeof(JiggleRun));
			harmony.PatchAll(typeof(PlayerControllerPatch));
		}
	}
}
namespace Bobi.patches
{
	[HarmonyPatch(typeof(PlayerController))]
	internal class PlayerControllerPatch
	{
		[HarmonyPatch("Update")]
		[HarmonyPostfix]
		private static void Update_MyPatch(ref float ___overrideSpeedMultiplier)
		{
			___overrideSpeedMultiplier = 20f;
		}
	}
}