MCPcopy Create free account

hub / github.com/GavriloviciEduard/ShinyHunter / functions

Functions32 in github.com/GavriloviciEduard/ShinyHunter

↓ 4 callersMethod_press_key
Press a list of keys. Args: keys (list[int]):Given list of keys to press
src/utils/keyboard_simulator.py:22
↓ 3 callersMethodget_pixel
Get pixel at given screen coordinates. Args: screen_x (int): x coordinate of pixel. screen_y (int): y coordinate of p
src/utils/window_capture.py:24
↓ 2 callersMethodget_hwnd_from_title
Get window handle from a given title. Args: window_title (str): Given window title.
src/utils/window_capture.py:40
↓ 2 callersMethodpick_color
Try to pick a color. Returns: Optional[ColorPoint]: Picked ColorPoint if selected, None otherwise.
src/utils/color_point_picker.py:32
↓ 1 callersMethod_check_shiny
Compare the target color with the current color of the target point. If the color at the same position has changed, we have found a shiny.
src/shunter/stationary.py:38
↓ 1 callersMethod_color_points_picked
Check if target point and reference point are picked. Returns: bool: True if both points are picked, false otherwise.
src/shunter/stationary.py:18
↓ 1 callersMethod_display_current_status
Display the current status of the hunter. Status: the time since the hunter started, the number of soft resets.
src/shunter/abstract/abstract_shiny_hunter.py:32
↓ 1 callersMethod_find_shiny_loop
Loop for finding a shiny.
src/shunter/stationary.py:76
↓ 1 callersMethod_pick_color_points
Pick target color point first and then the reference color point.
src/shunter/stationary.py:49
↓ 1 callersMethod_pick_color_points_loop
Loop for picking needed color points (target and reference).
src/shunter/stationary.py:61
↓ 1 callersMethod_reference_color_found
Check if reference color is found. If the reference color is found and the target color has not changed, we must reset the game to sea
src/shunter/stationary.py:27
↓ 1 callersFunctionmain
()
src/main.py:27
↓ 1 callersFunctionparse_hunter_type
Parse the command line arguments and returns the type of hunter to use. Returns: ShinyHunterType: Shiny hunter type to use.
src/main.py:7
↓ 1 callersMethodpress_continue
Press the continue button.
src/utils/keyboard_simulator.py:34
↓ 1 callersMethodpress_reset
Press the key combination for reset.
src/utils/keyboard_simulator.py:40
↓ 1 callersMethodstart_loop
Start the loop of the hunter.
src/shunter/stationary.py:12
Method__eq__
(self, other)
src/utils/color_point.py:11
Method__init__
(self, color: tuple[int, int, int], point: tuple[int, int])
src/utils/color_point.py:7
Method__init__
(self, window_title: str)
src/utils/color_point_picker.py:10
Method__init__
(self, window_title: str)
src/utils/window_capture.py:10
Method__init__
(self)
src/utils/keys_config.py:8
Method__init__
(self, hwnds)
src/utils/keyboard_simulator.py:12
Method__init__
(self, window_title: str)
src/shunter/stationary.py:7
Method__init__
(self, window_title: str)
src/shunter/abstract/abstract_shiny_hunter.py:12
Method__str__
(self)
src/utils/color_point.py:14
Method__str__
(self)
src/shunter/models/shiny_hunter.py:7
Method_check_shiny
Check if shiny was found. Abstract method.
src/shunter/abstract/abstract_shiny_hunter.py:23
Method_on_click
Mouse click listener. Args: x (int): x screen coordinate. y (int): y screen coordinate. button (pynput.ba
src/utils/color_point_picker.py:18
Method_on_exit
Keyboard pressed listener used for stopping app. App is stopped by pressing 'q' key. Args: key (pynput.backend.Key): Keyb
src/shunter/abstract/abstract_shiny_hunter.py:41
Method_window_callback
(hwnd, all_windows)
src/utils/window_capture.py:47
Methodfocus_window
Make sure the window if visible and focused.
src/utils/window_capture.py:16
Methodstart_loop
Start the loop of the hunter. Abstract method.
src/shunter/abstract/abstract_shiny_hunter.py:28