mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
24 lines
671 B
Python
24 lines
671 B
Python
from tasks.rogue.entry.path import RoguePathHandler
|
|
from tasks.rogue.entry.reward import RogueRewardHandler
|
|
from tasks.rogue.route.loader import RouteLoader
|
|
|
|
|
|
class RogueHandler(RouteLoader, RogueRewardHandler, RoguePathHandler):
|
|
def rogue_once(self):
|
|
"""
|
|
Do a complete rogue run.
|
|
|
|
Pages:
|
|
in: page_rogue, is_page_rogue_main()
|
|
out: page_rogue, is_page_rogue_main()
|
|
"""
|
|
self.rogue_path_select(self.config.RoguePath_Path)
|
|
self.rogue_run()
|
|
self.rogue_reward_claim()
|
|
|
|
|
|
if __name__ == '__main__':
|
|
self = RogueHandler('src', task='Rogue')
|
|
self.device.screenshot()
|
|
self.rogue_once()
|