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 QuotaFixer v1.0.0
QuotaFixer.dll
Decompiled 2 years agousing System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using BepInEx; using BepInEx.Logging; using HarmonyLib; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = "")] [assembly: AssemblyCompany("QuotaFixer")] [assembly: AssemblyConfiguration("Release")] [assembly: AssemblyDescription("QuotaFixer")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("QuotaFixer")] [assembly: AssemblyTitle("QuotaFixer")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.0.0")] [module: UnverifiableCode] namespace QuotaFixer; [BepInPlugin("viviko.QuotaFixer", "QuotaFixer", "1.0.0")] public class QuotaFixer : BaseUnityPlugin { [HarmonyPatch(typeof(TimeOfDay))] internal class TimeOfDayPatch { [HarmonyPrefix] [HarmonyPatch("SetNewProfitQuota")] private static bool SetNewProfitQuotaPatch(TimeOfDay __instance) { return __instance.daysUntilDeadline <= 0; } } private const string modGUID = "viviko.QuotaFixer"; private const string modName = "QuotaFixer"; private const string modVersion = "1.0.0"; private readonly Harmony harmony = new Harmony("viviko.QuotaFixer"); private static QuotaFixer Instance; internal ManualLogSource mls; private void Awake() { if ((Object)(object)Instance == (Object)null) { Instance = this; } mls = Logger.CreateLogSource("QuotaFixer"); harmony.PatchAll(); mls.LogInfo((object)"Plugin QuotaFixer is loaded!"); } } public static class PluginInfo { public const string PLUGIN_GUID = "QuotaFixer"; public const string PLUGIN_NAME = "QuotaFixer"; public const string PLUGIN_VERSION = "1.0.0"; }