Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Monarch-Launcher/Monarch
/ functions
Functions
406 in github.com/Monarch-Launcher/Monarch
⨍
Functions
406
◇
Types & classes
69
↓ 2 callers
Function
set_password
Set password in secure store TODO: Better error handling if write_settings() fails.
src/monarch_utils/commands.rs:76
↓ 2 callers
Function
show_confirm
Display a confirmation modal with the given message and action.
src/gui/mod.rs:68
↓ 2 callers
Function
store_button
( label: &str, on_press: Option<Message>, )
src/gui/components/common/mod.rs:118
↓ 2 callers
Function
umu_is_installed
()
src/monarch_games/commands.rs:431
↓ 2 callers
Function
umu_is_installed
For now a simple check to verify that umu-launcher exists.
src/monarch_games/linux/umu.rs:44
↓ 2 callers
Function
uninstall_client_game
Attempts to uninstall a Steam Client game.
src/monarch_games/steam_client.rs:238
↓ 2 callers
Method
update
(&mut self, msg: Message)
src/gui/pages/search/mod.rs:34
↓ 2 callers
Method
update
(&mut self, msg: Message)
src/gui/pages/game_details/mod.rs:44
↓ 2 callers
Method
update_game
Update a game. Useful when updating game properties and want to let the backend state know of it.
src/monarch_utils/monarch_state.rs:91
↓ 1 callers
Method
ask_reset_settings
(&self)
src/gui/pages/settings/update.rs:130
↓ 1 callers
Method
binary_game_id_collision
Check against the current list of games if an id is already in use. Used when generating ids for locally imported game binaries.
src/monarch_utils/monarch_state.rs:114
↓ 1 callers
Method
change_library_folder
(&mut self, settings: &mut Settings, folder: &str)
src/gui/pages/settings/update.rs:23
↓ 1 callers
Function
clear_all_cache
Removes all files in /resources/cache, meant for UI so that user can clear folder if wanted
src/monarch_utils/housekeeping.rs:107
↓ 1 callers
Function
clear_cached_images
Manually clear all images in the resources/cache directory Don't return custom error message as they instead return the state of settings according to
src/monarch_utils/commands.rs:161
↓ 1 callers
Function
clear_cached_thumbnails
Clears out old cached thumbnails (Don't like the indentaion level, will come back to rework later)
src/monarch_utils/housekeeping.rs:53
↓ 1 callers
Function
clear_dir
Helper function to remove some indentation levels from clear_cached_thumbnails().
src/monarch_utils/housekeeping.rs:66
↓ 1 callers
Function
config_linux
(mut config_builder: ConfigBuilder)
package/src/main.rs:89
↓ 1 callers
Function
config_macos
(mut config_builder: ConfigBuilder)
package/src/main.rs:79
↓ 1 callers
Function
config_windows
(mut config_builder: ConfigBuilder)
package/src/main.rs:67
↓ 1 callers
Method
content_view
(&self)
src/gui/pages/search/view.rs:9
↓ 1 callers
Function
copy_cache_to_library
Copies image from cache to resources Returns path to new image in resources directory
src/monarch_utils/monarch_fs.rs:329
↓ 1 callers
Function
create_config
()
package/src/main.rs:39
↓ 1 callers
Function
default
(theme: &Theme, status: pick_list::Status)
src/gui/styles/pick_list.rs:4
↓ 1 callers
Method
delete_epic_credentials
(&mut self, settings: &mut Settings)
src/gui/pages/settings/update.rs:106
↓ 1 callers
Method
delete_steam_credentials
(&mut self, settings: &mut Settings)
src/gui/pages/settings/update.rs:48
↓ 1 callers
Method
download_artwork
Download thumbnail for MonarchGame
src/monarch_games/monarchgame.rs:96
↓ 1 callers
Function
download_game
Download a Steam game via Monarch and SteamCMD.
src/monarch_games/steam_client.rs:282
↓ 1 callers
Method
download_thumbnail
Download thumbnail for MonarchGame
src/monarch_games/monarchgame.rs:82
↓ 1 callers
Function
error_view
( title: &'a str, message: &'a str, retry_msg: Option<Message>, )
src/gui/components/common/mod.rs:252
↓ 1 callers
Function
find_game
Function to search steam store directly from Monarch client, skipping monarch-launcher.com
src/monarch_games/steam_client.rs:570
↓ 1 callers
Function
format_size
(bytes: f64)
src/gui/pages/game_details/view.rs:329
↓ 1 callers
Method
game_img_loaded
(&mut self, game: MonarchWebApiGame)
src/gui/pages/library/add_game.rs:198
↓ 1 callers
Method
game_img_loaded
(&mut self, game: MonarchWebApiGame)
src/gui/pages/search/update.rs:63
↓ 1 callers
Function
get_default_libraryfolders_location
Returns default path to libraryfolders.vdf used by steam on Windows systems Currently returns a result to match the definition of the linux function.
src/monarch_games/windows/steam.rs:167
↓ 1 callers
Function
get_default_libraryfolders_location
Returns default path to libraryfolders.vdf used by steam on Linux systems
src/monarch_games/linux/steam.rs:248
↓ 1 callers
Function
get_default_location
Returns default path used by steam on Windows systems Currently returns a result to match the definition of the linux function.
src/monarch_games/windows/steam.rs:161
↓ 1 callers
Function
get_default_location
Returns default path used by steam on Linux systems ($HOME/.steam)
src/monarch_games/macos/steam.rs:47
↓ 1 callers
Function
get_default_location
Returns default path used by steam on Linux systems ($HOME/.steam)
src/monarch_games/linux/steam.rs:240
↓ 1 callers
Function
get_game_properties_from_manifest
( game: &MonarchGame, libraryfolders_vdf: &Path, )
src/monarch_utils/monarch_vdf.rs:291
↓ 1 callers
Function
get_games_from_manifest_files
(path: &Path)
src/monarch_utils/monarch_vdf.rs:139
↓ 1 callers
Function
get_home_recomendations
Simple function for generating suggested games on homescreen, based on recent playtime.
src/monarch_library/commands.rs:24
↓ 1 callers
Function
get_legendary_dir
Returns path to directory where Monarch stores its copy of the umu-launcher binary.
src/monarch_games/linux/legendary.rs:21
↓ 1 callers
Function
get_library
()
src/monarch_games/macos/steam.rs:36
↓ 1 callers
Function
get_library_db_path
Returns path to library.json
src/monarch_utils/monarch_fs.rs:170
↓ 1 callers
Function
get_log_file
Creates path to log file that should be located under %appdata%.
src/monarch_utils/monarch_logger.rs:78
↓ 1 callers
Function
get_proton_versions
Possibly slow implementation for getting Proton versions installed on system. Works fast enough during testing.
src/monarch_utils/monarch_vdf.rs:91
↓ 1 callers
Function
get_steamcmd_exe
Returns path to the SteamCMD binary used in SteamCMD commands
src/monarch_games/windows/steam.rs:100
↓ 1 callers
Method
get_store
(&self)
src/monarch_games/monarchgame.rs:170
↓ 1 callers
Method
handle_download_modal_message
( &mut self, msg: super::download_modal::Message, )
src/gui/pages/store_details/update.rs:4
↓ 1 callers
Function
init
()
src/main.rs:25
↓ 1 callers
Method
init
(&mut self)
src/monarch_utils/monarch_state.rs:42
↓ 1 callers
Function
init_db
Initiates db, which ensures all tables exist or are created on application launch.
src/monarch_utils/monarch_sql.rs:487
↓ 1 callers
Function
init_logger
Initializes logger to ensure logs are written when running app. To log to the monarch.log file you use the log macros as shown in the bottom with info
src/monarch_utils/monarch_logger.rs:12
↓ 1 callers
Function
insert_game
Insert a single game into the database
src/monarch_utils/monarch_sql.rs:155
↓ 1 callers
Function
install_legendary
()
src/monarch_games/commands.rs:488
↓ 1 callers
Method
install_legendary_task
(&self)
src/gui/pages/settings/update.rs:183
↓ 1 callers
Method
install_steamcmd_task
(&self, settings: &Settings)
src/gui/pages/settings/update.rs:164
↓ 1 callers
Function
install_umu
()
src/monarch_games/commands.rs:442
↓ 1 callers
Method
install_umu_task
(&self)
src/gui/pages/settings/update.rs:153
↓ 1 callers
Function
is_in_cache_dir
(path: &Path)
src/monarch_utils/monarch_fs.rs:322
↓ 1 callers
Function
is_installed
Return whether a program is found in windows registery. Only checks under Software of each user in HKEY_USERS
src/monarch_utils/monarch_winreg.rs:6
↓ 1 callers
Method
is_installed
(&self)
src/monarch_games/monarchgame.rs:128
↓ 1 callers
Method
launch_game
(&self, game: &MonarchGame)
src/monarch_games/steam_client.rs:100
↓ 1 callers
Method
launch_game
(&self)
src/gui/pages/game_details/update.rs:15
↓ 1 callers
Function
legendary_is_installed
()
src/monarch_games/legendary_client.rs:172
↓ 1 callers
Function
legendary_is_installed
For now a simple check to verify that umu-launcher exists.
src/monarch_games/windows/legendary.rs:32
↓ 1 callers
Function
legendary_is_installed
For now a simple check to verify that umu-launcher exists.
src/monarch_games/linux/legendary.rs:34
↓ 1 callers
Method
login
(&self)
src/monarch_games/legendary_client.rs:50
↓ 1 callers
Function
low_system_usage
Checks if system usage is sufficiently low to clear resources. Currently only checks a certain level of CPU usage, will possibly update later to check
src/monarch_utils/housekeeping.rs:44
↓ 1 callers
Function
manual_add_game
(mut game: MonarchGame)
src/monarch_games/commands.rs:327
↓ 1 callers
Function
manual_remove_game
(game: MonarchGame)
src/monarch_games/commands.rs:414
↓ 1 callers
Method
manually_generate_id
Randomly generates a Monarch ID
src/monarch_games/monarchgame.rs:110
↓ 1 callers
Function
monarch
()
src/gui/styles/theme.rs:5
↓ 1 callers
Method
open_actions
(&mut self)
src/gui/pages/game_details/update.rs:43
↓ 1 callers
Function
open_folder_dialog
()
src/gui/components/common/mod.rs:295
↓ 1 callers
Method
open_link
(&self, url: &str)
src/gui/pages/settings/update.rs:149
↓ 1 callers
Method
open_properties
(&mut self)
src/gui/pages/game_details/update.rs:34
↓ 1 callers
Method
open_store_page
(&mut self, url: &str)
src/gui/pages/store_details/update.rs:39
↓ 1 callers
Function
overwrite_games
Overwrites library games
src/monarch_library/library.rs:91
↓ 1 callers
Function
package
(config: &Config)
package/src/main.rs:103
↓ 1 callers
Function
parse_id_monarch_com
Helper function to parse individual steam ids. Allows for concurrent parsing.
src/monarch_games/steam_client.rs:505
↓ 1 callers
Function
parse_id_steampowered_com
Helper function to parse individual steam ids. Allows for concurrent parsing.
src/monarch_games/steam_client.rs:610
↓ 1 callers
Function
parse_steam_page
Gets AppIDs and Links from Steam store search
src/monarch_games/steam_client.rs:585
↓ 1 callers
Function
parse_table
Returns String content as TOML Table
src/monarch_utils/monarch_settings.rs:307
↓ 1 callers
Method
perform_search
(&mut self, search_filter: SearchFilter)
src/gui/pages/search/update.rs:14
↓ 1 callers
Method
pick_default_monarch_folder
(&self)
src/gui/pages/settings/update.rs:213
↓ 1 callers
Function
proton_versions
()
src/monarch_games/commands.rs:294
↓ 1 callers
Method
push_game
Simple abstraction for pushing new game into MONARCH_STATE
src/monarch_utils/monarch_state.rs:79
↓ 1 callers
Function
read_settings_content
Parses content in settings.toml
src/monarch_utils/monarch_settings.rs:290
↓ 1 callers
Function
refresh_library
Manually refreshes the entire Monarch library, currently only supports Steam & Epic Games (kinda) still WIP
src/monarch_games/commands.rs:78
↓ 1 callers
Method
remove_game
Simple abstraction for removing a game at index
src/monarch_utils/monarch_state.rs:84
↓ 1 callers
Function
remove_legendary
()
src/monarch_games/commands.rs:532
↓ 1 callers
Method
remove_legendary
(&self)
src/gui/pages/settings/update.rs:207
↓ 1 callers
Method
remove_steam_secret
(&mut self, settings: &mut Settings)
src/gui/pages/settings/update.rs:71
↓ 1 callers
Function
remove_steamcmd
()
src/monarch_games/commands.rs:521
↓ 1 callers
Method
remove_steamcmd
(&self)
src/gui/pages/settings/update.rs:201
↓ 1 callers
Function
remove_umu
()
src/monarch_games/commands.rs:510
↓ 1 callers
Method
remove_umu
(&self)
src/gui/pages/settings/update.rs:195
↓ 1 callers
Method
requires_write_lock
(&self)
src/gui/pages/settings/mod.rs:60
↓ 1 callers
Method
reset_settings
(&mut self, settings: &mut Settings)
src/gui/pages/settings/update.rs:137
← previous
next →
101–200 of 406, ranked by callers