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 InfiniteTimeMod v1.0.2
InfiniteTime.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 HarmonyLib; using InfiniteTime.Patches; 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("InfiniteTime")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("InfiniteTime")] [assembly: AssemblyCopyright("Copyright © 2024")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("8306dc0c-a01b-444c-8a98-cb24402bc24d")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("1.0.0.0")] namespace InfiniteTime { [BepInPlugin("Lukas.InfiniteTime", "InfiniteTime", "1.0.0")] public class InfiniteTimeBase : BaseUnityPlugin { private const string modGUID = "Lukas.InfiniteTime"; private const string modName = "InfiniteTime"; private const string modVersion = "1.0.0"; private readonly Harmony harmony = new Harmony("Lukas.InfiniteTime"); private static InfiniteTimeBase Instance; internal ManualLogSource mls; private void Awake() { if ((Object)(object)Instance == (Object)null) { Instance = this; } mls = Logger.CreateLogSource("Lukas.InfiniteTime"); mls.LogInfo((object)"InfiniteTimeMod loadet!"); harmony.PatchAll(typeof(InfiniteTimeBase)); harmony.PatchAll(typeof(TimeOfDayPatch)); } } } namespace InfiniteTime.Patches { [HarmonyPatch(typeof(TimeOfDay))] internal class TimeOfDayPatch { [HarmonyPatch("Update")] [HarmonyPostfix] private static void infiniteTimePatch(ref float ___globalTimeSpeedMultiplier) { ___globalTimeSpeedMultiplier = 0f; } } }