MCPcopy Create free account
hub / github.com/runhey/OnmyojiAutoScript / select

Method select

tasks/MysteryShop/script_task.py:147–157  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

145 :return:
146 """
147 def select(name: str) -> bool:
148 selected = False
149 sleep(1)
150 if not selected:
151 if self.detect_select(name):
152 selected = True
153 sleep(1)
154 if not selected:
155 if self.detect_select(name):
156 selected = True
157 return selected
158
159 selected = False
160 self.ui_click_until_disappear(self.I_FLAG_1_OFF)

Callers

nothing calls this directly

Calls 1

detect_selectMethod · 0.80

Tested by

no test coverage detected