mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 22:08:20 +08:00
Fix: Handle mail full popup
This commit is contained in:
@@ -270,6 +270,12 @@ page_build.link(button=GOTO_MAIN, destination=page_main)
|
||||
page_main.link(button=MAIN_GOTO_BUILD, destination=page_build)
|
||||
page_main_white.link(button=MAIN_GOTO_BUILD_WHITE, destination=page_build)
|
||||
|
||||
# Mail
|
||||
page_mail = Page(MAIL_CHECK)
|
||||
page_mail.link(button=GOTO_MAIN_WHITE, destination=page_main)
|
||||
# Mail enter varies from different UI
|
||||
# page_main.link(button=MAIL_ENTER_WHITE, destination=page_mail)
|
||||
|
||||
# RPG event (raid_20240328)
|
||||
page_rpg_stage = Page(RPG_GOTO_STORY)
|
||||
page_rpg_story = Page(RPG_GOTO_STAGE)
|
||||
|
||||
@@ -391,6 +391,9 @@ class UI(InfoHandler):
|
||||
# Item expired offset=(37, 72), skin expired, offset=(24, 68)
|
||||
if self.handle_popup_single(offset=(-6, 48, 54, 88), name='ITEM_EXPIRED'):
|
||||
return True
|
||||
# Mail full popup
|
||||
if self.handle_popup_single_white():
|
||||
return True
|
||||
# Routed from confirm click
|
||||
if self.appear(SHIPYARD_CHECK, offset=(30, 30), interval=3):
|
||||
logger.info(f'UI additional: {SHIPYARD_CHECK} -> {GOTO_MAIN}')
|
||||
|
||||
Reference in New Issue
Block a user