Fix background Unity input and shop boundaries; record login failure

Browse Source
This commit is contained in:
Codex Agent
2026-10-03 16:52:49 +08:00
parent 6cd0b2742a
commit 073e407346
13 changed files with 850 additions and 29 deletions
+4
View File
@@ -16,6 +16,10 @@ class FakeEngine(Engine):
self.shots += 1 self.shots += 1
return {'path': 'fake/shot_%d.png' % self.shots, 'w': 1920, 'h': 1080} return {'path': 'fake/shot_%d.png' % self.shots, 'w': 1920, 'h': 1080}
def show_game_background(self):
self.actions.append(('show_game_background',))
return {'visible': True, 'foreground_changed': False}
def ocr(self): def ocr(self):
shot = self.screenshot() shot = self.screenshot()
items = self.frames.pop(0) if len(self.frames) > 1 else self.frames[0] items = self.frames.pop(0) if len(self.frames) > 1 else self.frames[0]