Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AdbAutoPlayer/AdbAutoPlayer
/ functions
Functions
1,693 in github.com/AdbAutoPlayer/AdbAutoPlayer
⨍
Functions
1,693
◇
Types & classes
357
↳
Endpoints
51
↓ 2 callers
Method
binaries_dir
Return the binaries directory.
src-tauri/src-python/adb_auto_player/file_loader/settings_loader.py:61
↓ 2 callers
Method
cache_clear
Clears the template_cache dictionary.
src-tauri/src-python/adb_auto_player/image_manipulation/io.py:91
↓ 2 callers
Function
clean_name
Clean name suffixes.
src-tauri/src-python/scripts/test_activeness_ocr.py:272
↓ 2 callers
Method
command
Executes the command. Returns: Exception: The exception encountered during execution, if any. Specific errors suc
src-tauri/src-python/adb_auto_player/util/execute.py:37
↓ 2 callers
Method
create_multi_line_image
Create an image with multiple lines of text.
src-tauri/src-python/tests/ocr/test_tesseract_backend/conftest.py:50
↓ 2 callers
Method
create_simple_text_image
Create a simple image with text.
src-tauri/src-python/tests/ocr/test_tesseract_backend/conftest.py:11
↓ 2 callers
Function
default_action_delay
()
src-tauri/src/settings.rs:314
↓ 2 callers
Function
default_navigation_delay
()
src-tauri/src/settings.rs:318
↓ 2 callers
Function
default_profiles
()
src-tauri/src/settings.rs:268
↓ 2 callers
Function
default_restart_mins
()
src-tauri/src/settings.rs:330
↓ 2 callers
Function
default_template_timeout
()
src-tauri/src/settings.rs:322
↓ 2 callers
Function
default_watchdog_restart_delay
()
src-tauri/src/settings.rs:326
↓ 2 callers
Method
device
Lazily-initialised ADB device controller.
src-tauri/src-python/adb_auto_player/game/game.py:86
↓ 2 callers
Method
extract_player_name
Extract the player name from a single member-card row crop. Used to read names that RapidOCR cannot detect (e.g. Korean Hangul). Retu
src-tauri/src-python/adb_auto_player/ocr/qwen2vl_backend.py:527
↓ 2 callers
Method
extract_rankings_from_screenshot
Extract structured (rank, name, score) rows from a full rankings screenshot. Sends the whole screen to Qwen2-VL with a structured JSON prompt
src-tauri/src-python/adb_auto_player/ocr/qwen2vl_backend.py:454
↓ 2 callers
Method
extract_text
Extract all text from an image as a single string. Args: image: Input RGB image as numpy array config: Optional Tesse
src-tauri/src-python/adb_auto_player/ocr/tesseract_backend.py:134
↓ 2 callers
Function
find_project_root
Search upwards from cwd to find the AdbAutoPlayer directory itself. Returns: Path to the AdbAutoPlayer folder. Raises: Runti
src-tauri/src-python/adb_auto_player/main_cli.py:16
↓ 2 callers
Method
find_worst_match
Find the region that differs most from the template. Args: template (str | Path): Path to template image. grayscale (
src-tauri/src-python/adb_auto_player/game/_template_mixin.py:113
↓ 2 callers
Method
from_numpy
Create Point from numpy array.
src-tauri/src-python/adb_auto_player/models/geometry/point.py:45
↓ 2 callers
Method
get_adb_device
Get active AdbDevice if it exists.
src-tauri/src-python/adb_auto_player/device/adb/adb_client.py:19
↓ 2 callers
Function
get_app_settings_path
(app_handle: &tauri::AppHandle)
src-tauri/src/settings.rs:455
↓ 2 callers
Method
get_devourer_interact_option
(self)
src-tauri/src-python/adb_auto_player/games/blue_protocol_star_resonance/devourer.py:134
↓ 2 callers
Method
get_dungeon_start_interact_option
(self)
src-tauri/src-python/adb_auto_player/games/blue_protocol_star_resonance/devourer.py:125
↓ 2 callers
Function
get_game_metadata
Retrieve the title of the currently running game. This function attempts to determine which game is currently running on an ADB-connected dev
src-tauri/src-python/adb_auto_player/tauri_helpers/menu.py:31
↓ 2 callers
Method
get_profile_index
Get App active Profile Index.
src-tauri/src-python/adb_auto_player/tauri_context/context.py:20
↓ 2 callers
Method
get_summary_message
Generate a formatted summary message from the current entries. Returns: str: Formatted summary message with sections and items
src-tauri/src-python/adb_auto_player/util/summary_generator.py:87
↓ 2 callers
Method
get_wondrous_tag_interact_option
(self)
src-tauri/src-python/adb_auto_player/games/blue_protocol_star_resonance/wondrous_tag.py:70
↓ 2 callers
Method
has_sufficient_vram
Return True if a supported GPU backend is available. Accepts: - NVIDIA CUDA with ≥ min_gb VRAM - Apple Silicon MPS (unified m
src-tauri/src-python/adb_auto_player/ocr/qwen2vl_backend.py:218
↓ 2 callers
Function
hide_window
(app: &AppHandle)
src-tauri/src/window.rs:22
↓ 2 callers
Function
isDir
(source)
scripts/bundle-templates.cjs:15
↓ 2 callers
Function
isStringArray
(arr: any)
src/lib/form/types.ts:78
↓ 2 callers
Method
is_close_to
Check if this point is within threshold distance of another point.
src-tauri/src-python/adb_auto_player/models/geometry/coordinates.py:27
↓ 2 callers
Method
is_fishing_minigame_ready
(self)
src-tauri/src-python/adb_auto_player/games/blue_protocol_star_resonance/fishing.py:385
↓ 2 callers
Method
is_fishing_pole_broken
(self)
src-tauri/src-python/adb_auto_player/games/blue_protocol_star_resonance/fishing.py:161
↓ 2 callers
Method
is_fishing_pole_inventory_button_visible
(self)
src-tauri/src-python/adb_auto_player/games/blue_protocol_star_resonance/fishing.py:401
↓ 2 callers
Method
is_frozen
Whether the code is running as a frozen (compiled or as .exe) environment.
src-tauri/src-python/adb_auto_player/util/runtime.py:18
↓ 2 callers
Method
is_game_running
Return True if the game process is currently active.
src-tauri/src-python/adb_auto_player/game/_lifecycle_mixin.py:43
↓ 2 callers
Method
is_ui_hidden
Checks if UI is hidden. Specifically checks for the white camera and emote button.
src-tauri/src-python/adb_auto_player/games/blue_protocol_star_resonance/blue_protocol_star_resonance.py:52
↓ 2 callers
Method
is_windows
Return True if the OS is Windows.
src-tauri/src-python/adb_auto_player/util/runtime.py:75
↓ 2 callers
Method
keyevent
Key event. Args: key: key code
src-tauri/src-python/adb_auto_player/device/adb/adb_device.py:83
↓ 2 callers
Method
log_devices
Logs the list of ADB devices. Args: devices (list[AdbDeviceInfo]): ADB devices. log_level (int): Logging level.
src-tauri/src-python/adb_auto_player/device/adb/adb_client.py:62
↓ 2 callers
Method
machine
Return the CPU architecture of the system (e.g., x86_64, arm64).
src-tauri/src-python/adb_auto_player/util/runtime.py:38
↓ 2 callers
Method
navigate_to_afk_stages_screen
(self)
src-tauri/src-python/adb_auto_player/games/afk_journey/navigation.py:288
↓ 2 callers
Method
navigate_to_legend_trials_select_tower
Navigate to Legend Trials select tower screen.
src-tauri/src-python/adb_auto_player/games/afk_journey/navigation.py:397
↓ 2 callers
Method
navigate_to_world_chat
(self)
src-tauri/src-python/adb_auto_player/games/afk_journey/navigation.py:468
↓ 2 callers
Function
parse_rankings_frame
Return list of (rank, name) pairs from one rankings screenshot.
src-tauri/src-python/scripts/test_activeness_ocr.py:595
↓ 2 callers
Method
push_duras_trials
Push Dura's Trials.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/duras_trials.py:33
↓ 2 callers
Method
reset_display_size
Resets the display size of the device to its original size.
src-tauri/src-python/adb_auto_player/device/adb/adb_controller.py:93
↓ 2 callers
Function
runInVenv
(command)
scripts/pytauri-bootstrap.cjs:44
↓ 2 callers
Method
run_arena
Use Arena attempts.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/arena.py:26
↓ 2 callers
Method
run_dailies
Complete daily chores.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/dailies.py:42
↓ 2 callers
Method
run_dream_realm
Use Dream Realm attempts.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/dream_realm.py:53
↓ 2 callers
Method
run_ravaged_realm
Complete Ravaged Realm.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/ravaged_realm.py:30
↓ 2 callers
Method
sanitize
(&mut self)
src-tauri/src/settings.rs:371
↓ 2 callers
Method
screenshot
Screenshot. Returns: str | bytes: Adb screencap response this can be a message too.
src-tauri/src-python/adb_auto_player/device/adb/adb_device.py:53
↓ 2 callers
Method
set_app_handle
Set Tauri App Handle.
src-tauri/src-python/adb_auto_player/tauri_context/context.py:25
↓ 2 callers
Method
shell_unsafe
Shell without retry. Should not be used really unless you have a good reason.
src-tauri/src-python/adb_auto_player/device/adb/adb_device.py:117
↓ 2 callers
Function
showErrorToast
( error: unknown | string, options: ErrorToastOptions = {}, )
src/lib/toast/toast-error.ts:19
↓ 2 callers
Method
start_game
Launch the game via ADB. Raises: GameStartError: Game cannot be started.
src-tauri/src-python/adb_auto_player/game/_lifecycle_mixin.py:53
↓ 2 callers
Method
start_reeling
(self)
src-tauri/src-python/adb_auto_player/games/blue_protocol_star_resonance/fishing.py:316
↓ 2 callers
Method
step_left
(self)
src-tauri/src-python/adb_auto_player/games/blue_protocol_star_resonance/fishing.py:414
↓ 2 callers
Method
step_right
(self)
src-tauri/src-python/adb_auto_player/games/blue_protocol_star_resonance/fishing.py:437
↓ 2 callers
Function
strip_diacritics
Normalize and strip diacritics from a string.
src-tauri/src-python/scripts/test_activeness_ocr.py:256
↓ 2 callers
Function
tauri_generate_context
()
src-tauri/src/lib.rs:21
↓ 2 callers
Function
test_rankings
Test OCR extraction on Dream Realm and Supreme Arena ranking frames.
src-tauri/src-python/scripts/test_activeness_ocr.py:676
↓ 2 callers
Method
to_numpy
Convert Point to numpy array of shape (2,) with dtype int.
src-tauri/src-python/adb_auto_player/models/geometry/coordinates.py:35
↓ 2 callers
Function
to_visual_latin
Map Cyrillic characters to visual-matching Latin characters.
src-tauri/src-python/scripts/test_activeness_ocr.py:228
↓ 2 callers
Function
update_tray_menu
( app: &AppHandle, window_visible: bool, )
src-tauri/src/tray.rs:6
↓ 1 callers
Method
__init__
(self, *args, **kwargs)
src-tauri/src-python/adb_auto_player/__main__.py:161
↓ 1 callers
Method
__repr__
Return a string representation of the point.
src-tauri/src-python/adb_auto_player/models/geometry/point.py:77
↓ 1 callers
Method
_add_clear_key_amount
Clear key amount.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/arcane_labyrinth.py:38
↓ 1 callers
Method
_apply_current_formation
Copy the currently selected formation and apply it.
src-tauri/src-python/adb_auto_player/games/afk_journey/base.py:356
↓ 1 callers
Method
_ascend_button_is_present
Check if 'Ascend', 'Level Cap', or 'Phase' is at the bottom of the screen. Returns: True if Ascend found, False otherwise.
src-tauri/src-python/adb_auto_player/games/afk_journey/services/hero_scanner.py:442
↓ 1 callers
Method
_attempt_purchase
Try to purchase a Dream Realm attempt. Returns: bool: True if a purchase was made, False if no attempt could be purchased.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/dream_realm.py:109
↓ 1 callers
Method
_battle_is_not_completed
Battle is not completed.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/arcane_labyrinth.py:437
↓ 1 callers
Function
_build_argparse_formatter
Builds argparse.HelpFormatter.
src-tauri/src-python/adb_auto_player/cli/argparse_helper.py:64
↓ 1 callers
Method
_build_menu_options
Build menu options from game and common commands.
src-tauri/src-python/adb_auto_player/ipc_util/ipc_model_converter.py:70
↓ 1 callers
Method
_buy_affinity_items
Buy affinity items.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/dailies.py:198
↓ 1 callers
Method
_buy_bound_essence
Buy character bound temporal essences.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/dailies.py:252
↓ 1 callers
Method
_buy_single_pull
Buy the daily single pull.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/dailies.py:164
↓ 1 callers
Method
_check_hero_stamina
Check stamina indicator below detected hero. Args: hero_position: The template match result for the hero Returns:
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/frostfire_showdown.py:188
↓ 1 callers
Function
_check_orientation
Check device orientation using multiple fallback methods. Tries different orientation detection methods in order of reliability, returning as
src-tauri/src-python/adb_auto_player/device/adb/adb_controller.py:219
↓ 1 callers
Function
_check_output_for_error
(output: AdbConnection | str | bytes)
src-tauri/src-python/adb_auto_player/device/adb/adb_device.py:8
↓ 1 callers
Method
_check_requirements
(self)
src-tauri/src-python/adb_auto_player/game/_base.py:124
↓ 1 callers
Method
_check_screenshot_matches_display_resolution
( self, device_streaming_check: bool = False )
src-tauri/src-python/adb_auto_player/game/_base.py:130
↓ 1 callers
Method
_check_screenshot_matches_display_resolution
( self, device_streaming_check: bool = False )
src-tauri/src-python/adb_auto_player/game/_screenshot_mixin.py:87
↓ 1 callers
Method
_claim_battle_pass
Claim Battle Pass rewards.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/dailies.py:427
↓ 1 callers
Method
_claim_hourglasses
Claim free hourglass. Returns: bool: True if a free hourglass was claimed, False otherwise.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/dailies.py:107
↓ 1 callers
Method
_claim_mail
Claim mail.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/dailies.py:400
↓ 1 callers
Method
_claim_quests
Claim Quest rewards.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/dailies.py:453
↓ 1 callers
Method
_claim_reward
Claim Dream Realm reward.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/dream_realm.py:152
↓ 1 callers
Method
_classify_row_blocks
Split row blocks into rank, name/guild, and score columns.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/_guild_scan_rankings.py:733
↓ 1 callers
Method
_click
Internal click method — logging should be handled by the caller.
src-tauri/src-python/adb_auto_player/game/_input_mixin.py:82
↓ 1 callers
Method
_click_best_gate
Click best gate.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/arcane_labyrinth.py:505
↓ 1 callers
Method
_click_confirm_on_popup
(self)
src-tauri/src-python/tests/games/afk_journey/mixins/test_afkj_mixins.py:82
↓ 1 callers
Method
_click_through_wave_prep_screens
Click Next/Battle buttons through all wave prep screens to start combat.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/ravaged_realm.py:136
↓ 1 callers
Method
_collect_activeness_scroll_data
Scroll the Members list and return raw activeness records.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/_guild_scan_activeness.py:511
↓ 1 callers
Method
_collect_chest_contribution_scroll
Scroll through the Contribution Ranking and return raw name->chest dict.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/_guild_scan_activeness.py:445
↓ 1 callers
Method
_collect_homestead_resources
Open Buildings -> Mine -> Go -> Harvest All.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/homestead_helper.py:195
↓ 1 callers
Function
_connect_client
Attempts to connect to an ADB device using the given client and device ID. Args: client (AdbClient): ADB client instance used for connect
src-tauri/src-python/adb_auto_player/device/adb/adb_client.py:79
← previous
next →
301–400 of 1,693, ranked by callers