Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GavriloviciEduard/ShinyHunter
/ functions
Functions
32 in github.com/GavriloviciEduard/ShinyHunter
⨍
Functions
32
◇
Types & classes
8
↓ 4 callers
Method
_press_key
Press a list of keys. Args: keys (list[int]):Given list of keys to press
src/utils/keyboard_simulator.py:22
↓ 3 callers
Method
get_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 callers
Method
get_hwnd_from_title
Get window handle from a given title. Args: window_title (str): Given window title.
src/utils/window_capture.py:40
↓ 2 callers
Method
pick_color
Try to pick a color. Returns: Optional[ColorPoint]: Picked ColorPoint if selected, None otherwise.
src/utils/color_point_picker.py:32
↓ 1 callers
Method
_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 callers
Method
_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 callers
Method
_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 callers
Method
_find_shiny_loop
Loop for finding a shiny.
src/shunter/stationary.py:76
↓ 1 callers
Method
_pick_color_points
Pick target color point first and then the reference color point.
src/shunter/stationary.py:49
↓ 1 callers
Method
_pick_color_points_loop
Loop for picking needed color points (target and reference).
src/shunter/stationary.py:61
↓ 1 callers
Method
_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 callers
Function
main
()
src/main.py:27
↓ 1 callers
Function
parse_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 callers
Method
press_continue
Press the continue button.
src/utils/keyboard_simulator.py:34
↓ 1 callers
Method
press_reset
Press the key combination for reset.
src/utils/keyboard_simulator.py:40
↓ 1 callers
Method
start_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
Method
focus_window
Make sure the window if visible and focused.
src/utils/window_capture.py:16
Method
start_loop
Start the loop of the hunter. Abstract method.
src/shunter/abstract/abstract_shiny_hunter.py:28