using CommunityToolkit.Mvvm.ComponentModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BetterGenshinImpact.GameTask.AutoPick { /// /// 非16:9分辨率下可能无法正常工作 /// [Serializable] public partial class AutoPickConfig : ObservableObject { /// /// 触发器是否启用 /// [ObservableProperty] private bool _enabled = true; /// /// 1080p下拾取文字左边的起始偏移 /// [ObservableProperty] private int _itemIconLeftOffset = 60; /// /// 1080p下拾取文字的起始偏移 /// [ObservableProperty] private int _itemTextLeftOffset = 115; /// /// 1080p下拾取文字的终止偏移 /// [ObservableProperty] private int _itemTextRightOffset = 400; /// /// 急速模式 /// 无视文字识别结果,直接拾取 /// [ObservableProperty] private bool _fastModeEnabled = false; } }