using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using HarmonyLib; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")] [assembly: AssemblyCompany("ForcedBloomOn")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("ForcedBloomOn")] [assembly: AssemblyTitle("ForcedBloomOn")] [assembly: AssemblyVersion("1.0.0.0")] namespace ForcedBloomOn; public class ForcedBloomOn { [HarmonyPatch] internal static class GraphicsSettings_ForceBloomEnabled { [HarmonyPrefix] [HarmonyPatch(typeof(CellSettingsApply), "ApplyBloomEnabled")] private static void Pre_CellSettingsApply_ApplyBloomEnabled(ref bool value) { value = true; } } }