mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 02:23:01 +08:00
28 lines
628 B
C++
28 lines
628 B
C++
#pragma once
|
|
#include "AbstractImageAnalyzer.h"
|
|
|
|
#include "AsstBattleDef.h"
|
|
|
|
namespace asst
|
|
{
|
|
class RoguelikeRecruitImageAnalyzer final : public AbstractImageAnalyzer
|
|
{
|
|
public:
|
|
using AbstractImageAnalyzer::AbstractImageAnalyzer;
|
|
virtual ~RoguelikeRecruitImageAnalyzer() noexcept override = default;
|
|
|
|
bool analyze() override;
|
|
|
|
const auto& get_result() const noexcept
|
|
{
|
|
return m_result;
|
|
}
|
|
private:
|
|
|
|
int match_elite(const Rect& raw_roi);
|
|
int match_level(const Rect& raw_roi);
|
|
|
|
std::vector<BattleRecruitOperInfo> m_result;
|
|
};
|
|
}
|