mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 00:28:20 +08:00
Fix: Handle guild popups
This commit is contained in:
@@ -119,6 +119,25 @@ class InfoHandler(ModuleBase):
|
||||
|
||||
return False
|
||||
|
||||
"""
|
||||
Guild popup info
|
||||
"""
|
||||
def handle_guild_popup_confirm(self):
|
||||
if self.appear(GUILD_POPUP_CONFIRM, offset=self._popup_offset) \
|
||||
and self.appear(GUILD_POPUP_CANCAL, offset=self._popup_offset, interval=2):
|
||||
self.device.click(GUILD_POPUP_CONFIRM)
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
def handle_guild_popup_cancel(self):
|
||||
if self.appear(GUILD_POPUP_CONFIRM, offset=self._popup_offset) \
|
||||
and self.appear(GUILD_POPUP_CANCAL, offset=self._popup_offset, interval=2):
|
||||
self.device.click(GUILD_POPUP_CANCAL)
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
"""
|
||||
Story
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user