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 Tiny v1.0.0
BepInEx/plugins/JellyJamMadness.dll
Decompiled 2 years agousing System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using BepInEx.Logging; using GameNetcodeStuff; using HarmonyLib; using UnityEngine; using UnityEngine.SceneManagement; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("JellyJamMadness")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("JellyJamMadness")] [assembly: AssemblyCopyright("Copyright © 2024")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("f4957b33-0535-4113-88c1-e378a5fc3e2f")] [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 JellyJamMadness { [BepInPlugin("JellyJam.MadnessMod", "JellyJamMadness Mod", "1.0.0.0")] public class ModBase : BaseUnityPlugin { private const string modGUID = "JellyJam.MadnessMod"; private const string modName = "JellyJamMadness Mod"; private const string modVersion = "1.0.0.0"; private readonly Harmony harmony = new Harmony("JellyJam.MadnessMod"); private static ModBase Instance; internal ManualLogSource mls; private void Awake() { if ((Object)(object)Instance == (Object)null) { Instance = this; } mls = Logger.CreateLogSource("JellyJam.MadnessMod"); mls.LogInfo((object)"The JellyJam mod has started"); harmony.PatchAll(); } } } namespace JellyJamMadness.Patches { [HarmonyPatch(typeof(PlayerControllerB))] internal class PlayerControllerBPatch { public static Vector3 savedPos = Vector3.zero; public static GameObject managerObject; [HarmonyPatch("Update")] [HarmonyPostfix] private static void UpdatePatch(ref float ___sprintMeter, ref Transform ___thisPlayerBody, ref float ___movementSpeed, ref float ___jumpForce, ref float ___grabDistance) { //IL_001c: Unknown result type (might be due to invalid IL or missing references) ___sprintMeter += 0.01f; ___thisPlayerBody.localScale = new Vector3(0.2f, 0.2f, 0.2f); ___movementSpeed = 1.8f; ___jumpForce = 6f; ___grabDistance = 1f; } [HarmonyPatch("Awake")] [HarmonyPostfix] private static void FindObject(ref float ___jumpForce) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0006: Unknown result type (might be due to invalid IL or missing references) Scene activeScene = SceneManager.GetActiveScene(); GameObject[] rootGameObjects = ((Scene)(ref activeScene)).GetRootGameObjects(); GameObject[] array = rootGameObjects; foreach (GameObject val in array) { if (val.GetComponent<RoundManager>() != null) { managerObject = val; ___jumpForce = 100f; } } } } internal class ItemDropship { [HarmonyPatch("Update")] [HarmonyPostfix] private static void UpdatePatch(ref float ___shipTimer) { ___shipTimer = 0f; } } [HarmonyPatch(typeof(RoundManager))] internal class RoundManager { [HarmonyPatch("Update")] [HarmonyPrefix] private static void UpdatePatch() { } } }