using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using BepInEx;
using BepInEx.Logging;
using HarmonyLib;
using LCQuotaDaysMode.Patches;
using UnityEngine;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(/*Could not decode attribute arguments.*/)]
[assembly: TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")]
[assembly: AssemblyCompany("LCQuotaDaysMode")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("LCQuotaDaysMode")]
[assembly: AssemblyTitle("LCQuotaDaysMode")]
[assembly: AssemblyVersion("1.0.0.0")]
[module: RefSafetyRules(11)]
namespace LCQuotaDaysMode
{
[BepInPlugin("ObiChan.LCQuotaDaysMode", "LCQuotaDaysMode", "1.0.0.0")]
public class LCQuotaDaysMode : BaseUnityPlugin
{
private const string modGUID = "ObiChan.LCQuotaDaysMode";
private const string modName = "LCQuotaDaysMode";
private const string modVersion = "1.0.0.0";
private readonly Harmony harmony = new Harmony("ObiChan.LCQuotaDaysMode");
private static LCQuotaDaysMode Instance;
internal ManualLogSource mls;
private void Awake()
{
if ((Object)(object)Instance == (Object)null)
{
Instance = this;
}
mls = Logger.CreateLogSource("ObiChan.LCQuotaDaysMode");
mls.LogInfo((object)"Initializing LCQuotaDaysMode 1.0.0.0");
harmony.PatchAll(typeof(LCQuotaDaysMode));
harmony.PatchAll(typeof(QuotaDayPatch));
}
}
}
namespace LCQuotaDaysMode.Patches
{
[HarmonyPatch(typeof(QuotaSettings))]
public class QuotaDayPatch
{
[HarmonyPatch(typeof(QuotaSettings))]
[HarmonyPostfix]
private static void PatchQuotaDays(ref int ___deadlineDaysAmount)
{
___deadlineDaysAmount = 8;
}
}
}