feat: 基建收取会客室周限300信用 (#12014)

* feat: 基建收取会客室周限300信用

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

* chore(tools): add templates to ignore list

* fix: stack overflow

* fix: pipeline

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

* fix: 动画延迟+roi

* fix: 动画加加retry

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
This commit is contained in:
status102
2025-02-24 21:21:47 +08:00
committed by GitHub
parent 9c5d19abbd
commit bad45b428c
9 changed files with 65 additions and 0 deletions

View File

@@ -4142,6 +4142,58 @@
"roi": [627, 160, 653, 404],
"templThreshold": 0.95
},
"InfrastReceptionReceiveMessageBoard": {
"algorithm": "JustReturn",
"maxTimes": 3,
"next": ["InfrastReceptionOpenMessageBoard", "InfrastReceptionInteractive", "#self"]
},
"InfrastReceptionReceiveMessageBoard-Exit": {
"action": "DoNothing",
"baseTask": "InfrastReceptionInteractive",
"template": "InfrastReceptionInteractive.png",
"next": ["Stop"]
},
"InfrastReceptionInteractive": {
"action": "ClickSelf",
"roi": [400, 610, 100, 110],
"maxTimes": 3,
"next": ["InfrastReceptionOpenMessageBoard", "#self"]
},
"InfrastReceptionOpenMessageBoard": {
"action": "ClickSelf",
"roi": [0, 150, 1280, 250],
"maskRange": [1, 255],
"postDelay": 1000,
"next": [
"InfrastReceptionMessageBoard-AccessRecord",
"InfrastReceptionMessageBoard-CouldReceive",
"InfrastReceptionMessageBoard-Received",
"InfrastReceptionOpenMessageBoard@LoadingText"
]
},
"InfrastReceptionMessageBoard-AccessRecord": {
"doc": "进信息板的上周记录,不一定会有",
"action": "ClickSelf",
"roi": [520, 50, 240, 140],
"maxTimes": 20,
"next": ["InfrastReceptionMessageBoard-CouldReceive", "InfrastReceptionMessageBoard-Received", "#self"]
},
"InfrastReceptionMessageBoard-CouldReceive": {
"action": "ClickSelf",
"roi": [1090, 480, 120, 140],
"maxTimes": 5,
"exceededNext": ["InfrastReceptionMessageBoard-Received#next"],
"next": ["InfrastReceptionMessageBoard-Received", "InfrastReceptionOpenMessageBoard@LoadingText", "#self"]
},
"InfrastReceptionMessageBoard-Received": {
"roi": [1090, 480, 120, 140],
"next": ["InfrastReceptionMessageBoard@Return"]
},
"InfrastReceptionMessageBoard@Return": {
"template": "Return.png",
"postDelay": 1000,
"next": ["InfrastReceptionReceiveMessageBoard-Exit"]
},
"InfrastTraining": {
"template": "Training.png",
"maskRange": [1, 255],

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

@@ -18,6 +18,8 @@ bool asst::InfrastReceptionTask::_run()
if (!enter_facility()) {
return false;
}
receive_message_board();
click_bottom_left_tab();
close_end_of_clue_exchange();
@@ -42,6 +44,11 @@ bool asst::InfrastReceptionTask::_run()
return true;
}
bool asst::InfrastReceptionTask::receive_message_board()
{
return ProcessTask(*this, { "InfrastReceptionReceiveMessageBoard" }).run();
}
bool asst::InfrastReceptionTask::close_end_of_clue_exchange()
{
ProcessTask task_temp(*this, { "EndOfClueExchangeBegin" });

View File

@@ -17,6 +17,8 @@ protected:
private:
virtual int operlist_swipe_times() const noexcept override { return 4; }
// 收取信息板的周限300信用
bool receive_message_board();
bool close_end_of_clue_exchange();
bool get_clue();
bool use_clue();

View File

@@ -145,6 +145,10 @@ InfrastClueSelfMaybeFull.png
InfrastFilterMenu.png
InfrastFilterMenuConfirmButton.png
InfrastNotification.png
InfrastReceptionInteractive.png
InfrastReceptionMessageBoard-AccessRecord.png
InfrastReceptionMessageBoard-Received.png
InfrastReceptionOpenMessageBoard.png
InfrastTrainingConfirm.png
InfrastTrainingContinue.png
InfrastTrainingLevel1.png