using System.Diagnostics.CodeAnalysis; using Tomlet.Attributes; namespace AquaMai { [SuppressMessage("ReSharper", "ClassNeverInstantiated.Global")] public class Config { public UXConfig UX { get; set; } public CheatConfig Cheat { get; set; } public PerformanceConfig Performance { get; set; } public FixConfig Fix { get; set; } public UtilsConfig Utils { get; set; } public class CheatConfig { public bool TicketUnlock { get; set; } public bool MapUnlock { get; set; } public bool UnlockUtage { get; set; } public bool DebugFeature { get; set; } } public class UXConfig { public bool SkipWarningScreen { get; set; } public bool SinglePlayer { get; set; } public bool SkipToMusicSelection { get; set; } public bool LoadAssetsPng { get; set; } public bool LoadJacketPng { get; set; } public bool LoadAssetBundleWithoutManifest { get; set; } public bool QuickSkip { get; set; } public bool RandomBgm { get; set; } public bool DemoMaster { get; set; } public bool ExtendTimer { get; set; } public bool SkipEventInfo { get; set; } public bool ImmediateSave { get; set; } public bool LoadLocalBga { get; set; } public bool TestProof { get; set; } public bool HideSelfMadeCharts { get; set; } public bool SelectionDetail { get; set; } public string CustomVersionString { get; set; } public string CustomPlaceName { get; set; } public string ExecOnIdle { get; set; } public string ExecOnEntry { get; set; } } public class PerformanceConfig { public bool ImproveLoadSpeed { get; set; } } public class FixConfig { public bool SkipVersionCheck { get; set; } public bool RemoveEncryption { get; set; } public bool ForceAsServer { get; set; } = true; public bool ForceFreePlay { get; set; } = true; public bool ForcePaidPlay { get; set; } public int ExtendNotesPool { get; set; } } public class UtilsConfig { public bool LogUserId { get; set; } public float JudgeAdjustA { get; set; } public float JudgeAdjustB { get; set; } public int TouchDelay { get; set; } } } }