Skip to content

Commit

Permalink
chore: 重构tasks并拆分导航
Browse files Browse the repository at this point in the history
  • Loading branch information
dongwlin committed Oct 1, 2023
1 parent 2958013 commit a0782e0
Show file tree
Hide file tree
Showing 75 changed files with 1,504 additions and 1,290 deletions.
Binary file added assets/resource/image/Armada/ArmadaPageFlag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/resource/image/Armada/CommissionsPageFlag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added assets/resource/image/Dorm/ErrandsPageFlag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added assets/resource/image/Shop/DailyShopPageFlag.png
607 changes: 0 additions & 607 deletions assets/resource/pipeline/armada.json

This file was deleted.

25 changes: 25 additions & 0 deletions assets/resource/pipeline/armada/armada.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"$schema": "../../pipeline.schema.json",
"Armada": {
"next": [
"ArmadaPageFlag",
"Sub_EnterArmadaPage",
"Sub_StartUp"
]
},
"ArmadaPageFlag": {
"recognition": "TemplateMatch",
"template": "Armada/ArmadaPageFlag.png",
"roi": [
0,
599,
168,
121
],
"next": [
"Commissions",
"Contributions",
"Stop"
]
}
}
259 changes: 259 additions & 0 deletions assets/resource/pipeline/armada/commissions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,259 @@
{
"$schema": "../../pipeline.schema.json",
"Commissions": {
"next": [
"CommissionsPageFlag",
"Sub_EnterCommissionsPage",
"Sub_EnterArmadaPage",
"Sub_BackButton"
]
},
"CommissionsPageFlag": {
"recognition": "TemplateMatch",
"template": "Armada/CommissionsPageFlag.png",
"roi": [
0,
62,
129,
127
],
"next": [
"ApplyForANewCommission",
"AcceptNewCommission",
"CommissionItem",
"CommissionItemBuyMax",
"CommissionItemBuy",
"CommissionSubmitButton",
"CommissionNoneSubmitButton"
]
},
"ApplyForANewCommission": {
"recognition": "TemplateMatch",
"template": "Armada/ApplyForANewCommission.png",
"threshold": 0.9,
"roi": [
37,
577,
239,
141
],
"action": "Click",
"next": [
"ApplyForANewCommission",
"AcceptNewCommission",
"CommissionItem",
"CommissionItemBuyMax",
"CommissionItemBuy",
"CommissionSubmitButton"
]
},
"AcceptNewCommission": {
"recognition": "OCR",
"text": [
"接受"
],
"roi": [
1018,
154,
211,
560
],
"action": "Click",
"next": [
"AcceptNewCommission",
"CommissionItem",
"CommissionItemBuyMax",
"CommissionItemBuy",
"CommissionSubmitButton"
]
},
"CommissionItem": {
"recognition": "TemplateMatch",
"green_mask": true,
"template": "Armada/CommissionItem.png",
"roi": [
7,
112,
248,
248
],
"action": "Click",
"post_wait_freezes": 200,
"next": [
"CommissionItemBuyMax",
"CommissionItemBuy",
"CommissionSubmitButton",
"CommissionItem"
]
},
"CommissionItemBuyMax": {
"recognition": "TemplateMatch",
"template": "Armada/CommissionItemBuyMax.png",
"roi": [
565,
500,
158,
133
],
"action": "Click",
"next": [
"CommissionItemBuy",
"CommissionSubmitButton"
]
},
"CommissionItemBuy": {
"recognition": "TemplateMatch",
"template": "Armada/CommissionItemBuy.png",
"roi": [
872,
494,
167,
145
],
"action": "Click",
"post_wait_freezes": 200,
"next": [
"CommissionSubmitButton",
"SubmitCommission"
]
},
"CommissionSubmitButton": {
"recognition": "TemplateMatch",
"template": "Armada/CommissionSubmitButton.png",
"threshold": 0.95,
"roi": [
860,
579,
171,
141
],
"action": "Click",
"next": [
"CommissionSubmitButton",
"SubmitCommission"
]
},
"CommissionNoneSubmitButton": {
"inverse": true,
"recognition": "TemplateMatch",
"template": "Armada/CommissionSubmitButton.png",
"roi": [
860,
579,
171,
141
],
"next": [
"CommissionsRewardsPageFlag",
"Sub_EnterCommissionsRewardsPage"
]
},
"CommossionLimit": {
"recognition": "OCR",
"text": [
"回收委托次数已经耗尽"
],
"roi": [
361,
287,
539,
142
],
"action": "Click",
"post_wait_freezes": 200,
"next": [
"CommissionsRewardsPageFlag",
"Sub_EnterCommissionsRewardsPage"
]
},
"SubmitCommission": {
"recognition": "TemplateMatch",
"template": "Armada/SubmitCommission.png",
"roi": [
696,
492,
230,
141
],
"action": "Click",
"post_wait_freezes": 200,
"next": [
"CommossionLimit",
"SubmitCommission",
"Sub_CloseDialogBox",
"CommissionItem",
"CommissionItemBuyMax",
"CommissionItemBuy",
"CommissionSubmitButton",
"CommissionNoneSubmitButton"
]
},
"CommissionsRewardsPageFlag": {
"recognition": "TemplateMatch",
"template": "Armada/CommissionsRewardsPageFlag.png",
"roi": [
0,
60,
131,
131
],
"next": [
"CommissionsRewardsClaim",
"Sub_CloseDialogBox",
"CommissionsRewardsLastDistribution"
]
},
"CommissionsRewardsClaim": {
"recognition": "TemplateMatch",
"template": "Armada/CommissionsRewardsClaim.png",
"roi": [
828,
580,
168,
137
],
"action": "Click",
"post_wait_freezes": 200,
"next": [
"Sub_CloseDialogBox",
"CommissionsRewardsLastDistribution"
]
},
"CommissionsRewardsLastDistribution": {
"recognition": "TemplateMatch",
"template": "Armada/CommissionsRewardsLastDistribution.png",
"roi": [
778,
579,
268,
137
],
"next": [
"BackToArmadaPage"
]
},
"BackToArmadaPage": {
"recognition": "TemplateMatch",
"template": "Utils/BackButton.png",
"roi": [
0,
0,
180,
133
],
"action": "Click",
"post_wait_freezes": {
"time": 200,
"target": [
0,
600,
300,
110
]
},
"next": [
"Contributions",
"Stop"
]
}
}
Loading

0 comments on commit a0782e0

Please sign in to comment.