using CommunityToolkit.Mvvm.ComponentModel; using System; namespace BetterGenshinImpact.GameTask.AutoSkip { /// /// 自动跳过剧情配置 /// [Serializable] public partial class AutoSkipConfig : ObservableObject { /// /// 触发器是否启用 /// 启用后: /// 1. 快速跳过对话 /// 2. 自动点击一个识别到的选项 /// 3. 黑屏过长自动点击跳过 /// [ObservableProperty] private bool _enabled = true; /// /// 快速跳过对话 /// [ObservableProperty] private bool _quicklySkipConversationsEnabled = true; public int ChatOptionTextWidth { get; set; } = 280; public int ExpeditionOptionTextWidth { get; set; } = 130; /// /// 选择选项前的延迟(毫秒) /// [ObservableProperty] private int _afterChooseOptionSleepDelay = 0; /// /// 自动领取每日委托奖励 /// [ObservableProperty] private bool _autoGetDailyRewardsEnabled = true; /// /// 自动重新派遣 /// [ObservableProperty] private bool _autoReExploreEnabled = true; /// /// 自动重新派遣使用角色配置,逗号分割 /// [Obsolete] [ObservableProperty] private string _autoReExploreCharacter = ""; /// /// 优先点击第一个选项 /// [ObservableProperty] private bool _clickFirstOptionEnabled = false; /// /// 自动邀约启用 /// [ObservableProperty] private bool _autoHangoutEventEnabled = false; } }