LegacyContentMitigation: initial commit

manual "multipass" in legacy worlds
This commit is contained in:
NotAKidoS 2024-12-31 05:21:00 -06:00
parent 3d6b1bbd59
commit 94515efbe3
8 changed files with 645 additions and 0 deletions

View file

@ -0,0 +1,24 @@
using MelonLoader;
namespace NAK.LegacyContentMitigation;
internal static class ModSettings
{
#region Constants
internal const string ModName = nameof(LegacyContentMitigation);
internal const string LCM_SettingsCategory = "Legacy Content Mitigation";
#endregion Constants
#region Melon Preferences
private static readonly MelonPreferences_Category Category =
MelonPreferences.CreateCategory(ModName);
internal static readonly MelonPreferences_Entry<bool> EntryAutoForLegacyWorlds =
Category.CreateEntry("auto_for_legacy_worlds", true,
"Auto For Legacy Worlds", description: "Should Legacy View be auto enabled for detected Legacy worlds?");
#endregion Melon Preferences
}