using CommunityToolkit.Mvvm.ComponentModel;
using OpenCvSharp;
using System;
using System.Collections.Generic;
namespace BetterGenshinImpact.GameTask.AutoGeniusInvokation;
///
/// 自动打牌配置
///
[Serializable]
public partial class AutoGeniusInvokationConfig : ObservableObject
{
[ObservableProperty] private string _strategyName = "1.莫娜砂糖琴";
[ObservableProperty] private int _sleepDelay = 0;
public List DefaultCharacterCardRects { get; set; } =
[
new(667, 632, 165, 282),
new(877, 632, 165, 282),
new(1088, 632, 165, 282)
];
///
/// 骰子数量文字识别区域
///
public Rect MyDiceCountRect { get; } = new(68, 642, 25, 31); // 42,47
/////
///// 角色卡牌区域向左扩展距离,包含HP区域
/////
//public int CharacterCardLeftExtend { get; } = 20;
/////
///// 角色卡牌区域向右扩展距离,包含充能区域
/////
//public int CharacterCardRightExtend { get; } = 14;
///
/// 出战角色卡牌区域向上或者向下的距离差
///
public int ActiveCharacterCardSpace { get; set; } = 41;
///
/// HP区域 在 角色卡牌区域 的相对位置
///
public Rect CharacterCardExtendHpRect { get; } = new(-20, 0, 60, 55);
}