Files
MaaAssistantArknights/src/MaaCore/Task/Infrast/InfrastReceptionTask.h
Lemon-miaow a8d0210944 feat: 新增是否进行线索交流选项 (#13368)
* feat: 新增是否进行线索交流选项

* chore: Auto update by pre-commit hooks [skip changelog]

* docs: 文档添加参数

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-02 20:32:33 +08:00

40 lines
1.0 KiB
C++

#pragma once
#include "InfrastProductionTask.h"
namespace asst
{
class InfrastReceptionTask final : public InfrastProductionTask
{
public:
using InfrastProductionTask::InfrastProductionTask;
virtual ~InfrastReceptionTask() override = default;
virtual size_t max_num_of_opers() const noexcept override { return 2ULL; }
void set_receive_message_board(bool value) noexcept { m_receive_message_board = value; }
void set_enable_clue_exchange(bool value) noexcept { m_enable_clue_exchange = value; }
protected:
virtual bool _run() override;
private:
virtual int operlist_swipe_times() const noexcept override { return 4; }
// 收取信息板的周限300信用
bool receive_message_board();
bool close_end_of_clue_exchange();
bool get_friend_clue();
bool get_self_clue();
bool use_clue();
bool proc_clue_vacancy();
bool unlock_clue_exchange();
bool back_to_reception_main();
bool send_clue();
bool shift();
bool m_receive_message_board = true;
bool m_enable_clue_exchange = true;
};
}