AquaDX/AquaMai/Config.cs

117 lines
4.7 KiB
C#
Raw Normal View History

2024-02-07 15:38:36 +08:00
using System.Diagnostics.CodeAnalysis;
2024-09-06 23:15:53 +08:00
using Tomlet.Attributes;
2024-02-07 15:38:36 +08:00
namespace AquaMai
{
[SuppressMessage("ReSharper", "ClassNeverInstantiated.Global")]
public class Config
{
2024-09-17 06:25:52 +08:00
public UXConfig UX { get; set; } = new();
public CheatConfig Cheat { get; set; } = new();
public FixConfig Fix { get; set; } = new();
public UtilsConfig Utils { get; set; } = new();
public TimeSavingConfig TimeSaving { get; set; } = new();
2024-09-17 06:25:52 +08:00
public TouchSensitivityConfig TouchSensitivity { get; set; } = new();
2024-02-07 18:21:46 +08:00
2024-02-07 18:16:07 +08:00
public class CheatConfig
{
public bool TicketUnlock { get; set; }
public bool MapUnlock { get; set; }
2024-06-19 20:55:31 +08:00
public bool UnlockUtage { get; set; }
2024-02-07 18:16:07 +08:00
}
2024-02-07 18:21:46 +08:00
2024-02-07 15:38:36 +08:00
public class UXConfig
{
2024-02-07 16:53:13 +08:00
public bool SinglePlayer { get; set; }
2024-09-06 23:15:53 +08:00
public bool LoadAssetsPng { get; set; }
public bool LoadJacketPng { get; set; }
2024-04-23 18:51:49 +08:00
public bool LoadAssetBundleWithoutManifest { get; set; }
public bool QuickSkip { get; set; }
2024-05-15 21:01:19 +08:00
public bool RandomBgm { get; set; }
public bool DemoMaster { get; set; }
2024-05-21 21:17:30 +08:00
public bool ExtendTimer { get; set; }
public bool ImmediateSave { get; set; }
2024-06-26 03:11:56 +08:00
public bool LoadLocalBga { get; set; }
public bool TestProof { get; set; }
public bool HideSelfMadeCharts { get; set; }
2024-09-06 16:41:29 +08:00
public bool SelectionDetail { get; set; }
2024-09-24 20:17:27 +08:00
public string CustomVersionString { get; set; } = "";
public string CustomPlaceName { get; set; } = "";
public string ExecOnIdle { get; set; } = "";
public string ExecOnEntry { get; set; } = "";
2024-02-07 15:38:36 +08:00
}
2024-07-09 16:30:30 +08:00
public class FixConfig
{
public bool SkipVersionCheck { get; set; }
2024-07-09 18:11:06 +08:00
public bool RemoveEncryption { get; set; }
public bool ForceAsServer { get; set; } = true;
public bool ForceFreePlay { get; set; } = true;
2024-09-17 02:34:38 +08:00
public bool ForcePaidPlay { get; set; }
public int ExtendNotesPool { get; set; }
2024-07-09 16:30:30 +08:00
}
2024-09-11 00:56:15 +08:00
public class UtilsConfig
{
public bool LogUserId { get; set; }
2024-09-17 04:13:51 +08:00
public float JudgeAdjustA { get; set; }
public float JudgeAdjustB { get; set; }
public int TouchDelay { get; set; }
2024-09-27 21:50:27 +08:00
public bool Windowed { get; set; }
public int Width { get; set; }
public int Height { get; set; }
2024-09-28 16:30:19 +08:00
public bool PractiseMode { get; set; }
2024-09-11 00:56:15 +08:00
}
2024-09-17 06:25:52 +08:00
public class TimeSavingConfig
{
public bool SkipWarningScreen { get; set; }
public bool ImproveLoadSpeed { get; set; }
public bool SkipToMusicSelection { get; set; }
public bool SkipEventInfo { get; set; }
public bool IWontTapOrSlideVigorously { get; set; }
public bool SkipGameOverScreen { get; set; }
2024-09-27 19:33:37 +08:00
public bool SkipTrackStart { get; set; }
}
2024-09-17 06:25:52 +08:00
public class TouchSensitivityConfig
{
public bool Enable { get; set; }
public byte A1 { get; set; } = 40;
public byte A2 { get; set; } = 40;
public byte A3 { get; set; } = 40;
public byte A4 { get; set; } = 40;
public byte A5 { get; set; } = 40;
public byte A6 { get; set; } = 40;
public byte A7 { get; set; } = 40;
public byte A8 { get; set; } = 40;
public byte B1 { get; set; } = 20;
public byte B2 { get; set; } = 20;
public byte B3 { get; set; } = 20;
public byte B4 { get; set; } = 20;
public byte B5 { get; set; } = 20;
public byte B6 { get; set; } = 20;
public byte B7 { get; set; } = 20;
public byte B8 { get; set; } = 20;
public byte C1 { get; set; } = 20;
public byte C2 { get; set; } = 20;
public byte D1 { get; set; } = 20;
public byte D2 { get; set; } = 20;
public byte D3 { get; set; } = 20;
public byte D4 { get; set; } = 20;
public byte D5 { get; set; } = 20;
public byte D6 { get; set; } = 20;
public byte D7 { get; set; } = 20;
public byte D8 { get; set; } = 20;
public byte E1 { get; set; } = 20;
public byte E2 { get; set; } = 20;
public byte E3 { get; set; } = 20;
public byte E4 { get; set; } = 20;
public byte E5 { get; set; } = 20;
public byte E6 { get; set; } = 20;
public byte E7 { get; set; } = 20;
public byte E8 { get; set; } = 20;
}
2024-02-07 15:38:36 +08:00
}
2024-02-07 18:21:46 +08:00
}