MCPcopy Create free account

hub / github.com/Monarch-Launcher/Monarch / functions

Functions406 in github.com/Monarch-Launcher/Monarch

↓ 2 callersFunctionset_password
Set password in secure store TODO: Better error handling if write_settings() fails.
src/monarch_utils/commands.rs:76
↓ 2 callersFunctionshow_confirm
Display a confirmation modal with the given message and action.
src/gui/mod.rs:68
↓ 2 callersFunctionstore_button
( label: &str, on_press: Option<Message>, )
src/gui/components/common/mod.rs:118
↓ 2 callersFunctionumu_is_installed
()
src/monarch_games/commands.rs:431
↓ 2 callersFunctionumu_is_installed
For now a simple check to verify that umu-launcher exists.
src/monarch_games/linux/umu.rs:44
↓ 2 callersFunctionuninstall_client_game
Attempts to uninstall a Steam Client game.
src/monarch_games/steam_client.rs:238
↓ 2 callersMethodupdate
(&mut self, msg: Message)
src/gui/pages/search/mod.rs:34
↓ 2 callersMethodupdate
(&mut self, msg: Message)
src/gui/pages/game_details/mod.rs:44
↓ 2 callersMethodupdate_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 callersMethodask_reset_settings
(&self)
src/gui/pages/settings/update.rs:130
↓ 1 callersMethodbinary_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 callersMethodchange_library_folder
(&mut self, settings: &mut Settings, folder: &str)
src/gui/pages/settings/update.rs:23
↓ 1 callersFunctionclear_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 callersFunctionclear_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 callersFunctionclear_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 callersFunctionclear_dir
Helper function to remove some indentation levels from clear_cached_thumbnails().
src/monarch_utils/housekeeping.rs:66
↓ 1 callersFunctionconfig_linux
(mut config_builder: ConfigBuilder)
package/src/main.rs:89
↓ 1 callersFunctionconfig_macos
(mut config_builder: ConfigBuilder)
package/src/main.rs:79
↓ 1 callersFunctionconfig_windows
(mut config_builder: ConfigBuilder)
package/src/main.rs:67
↓ 1 callersMethodcontent_view
(&self)
src/gui/pages/search/view.rs:9
↓ 1 callersFunctioncopy_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 callersFunctioncreate_config
()
package/src/main.rs:39
↓ 1 callersFunctiondefault
(theme: &Theme, status: pick_list::Status)
src/gui/styles/pick_list.rs:4
↓ 1 callersMethoddelete_epic_credentials
(&mut self, settings: &mut Settings)
src/gui/pages/settings/update.rs:106
↓ 1 callersMethoddelete_steam_credentials
(&mut self, settings: &mut Settings)
src/gui/pages/settings/update.rs:48
↓ 1 callersMethoddownload_artwork
Download thumbnail for MonarchGame
src/monarch_games/monarchgame.rs:96
↓ 1 callersFunctiondownload_game
Download a Steam game via Monarch and SteamCMD.
src/monarch_games/steam_client.rs:282
↓ 1 callersMethoddownload_thumbnail
Download thumbnail for MonarchGame
src/monarch_games/monarchgame.rs:82
↓ 1 callersFunctionerror_view
( title: &'a str, message: &'a str, retry_msg: Option<Message>, )
src/gui/components/common/mod.rs:252
↓ 1 callersFunctionfind_game
Function to search steam store directly from Monarch client, skipping monarch-launcher.com
src/monarch_games/steam_client.rs:570
↓ 1 callersFunctionformat_size
(bytes: f64)
src/gui/pages/game_details/view.rs:329
↓ 1 callersMethodgame_img_loaded
(&mut self, game: MonarchWebApiGame)
src/gui/pages/library/add_game.rs:198
↓ 1 callersMethodgame_img_loaded
(&mut self, game: MonarchWebApiGame)
src/gui/pages/search/update.rs:63
↓ 1 callersFunctionget_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 callersFunctionget_default_libraryfolders_location
Returns default path to libraryfolders.vdf used by steam on Linux systems
src/monarch_games/linux/steam.rs:248
↓ 1 callersFunctionget_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 callersFunctionget_default_location
Returns default path used by steam on Linux systems ($HOME/.steam)
src/monarch_games/macos/steam.rs:47
↓ 1 callersFunctionget_default_location
Returns default path used by steam on Linux systems ($HOME/.steam)
src/monarch_games/linux/steam.rs:240
↓ 1 callersFunctionget_game_properties_from_manifest
( game: &MonarchGame, libraryfolders_vdf: &Path, )
src/monarch_utils/monarch_vdf.rs:291
↓ 1 callersFunctionget_games_from_manifest_files
(path: &Path)
src/monarch_utils/monarch_vdf.rs:139
↓ 1 callersFunctionget_home_recomendations
Simple function for generating suggested games on homescreen, based on recent playtime.
src/monarch_library/commands.rs:24
↓ 1 callersFunctionget_legendary_dir
Returns path to directory where Monarch stores its copy of the umu-launcher binary.
src/monarch_games/linux/legendary.rs:21
↓ 1 callersFunctionget_library
()
src/monarch_games/macos/steam.rs:36
↓ 1 callersFunctionget_library_db_path
Returns path to library.json
src/monarch_utils/monarch_fs.rs:170
↓ 1 callersFunctionget_log_file
Creates path to log file that should be located under %appdata%.
src/monarch_utils/monarch_logger.rs:78
↓ 1 callersFunctionget_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 callersFunctionget_steamcmd_exe
Returns path to the SteamCMD binary used in SteamCMD commands
src/monarch_games/windows/steam.rs:100
↓ 1 callersMethodget_store
(&self)
src/monarch_games/monarchgame.rs:170
↓ 1 callersMethodhandle_download_modal_message
( &mut self, msg: super::download_modal::Message, )
src/gui/pages/store_details/update.rs:4
↓ 1 callersFunctioninit
()
src/main.rs:25
↓ 1 callersMethodinit
(&mut self)
src/monarch_utils/monarch_state.rs:42
↓ 1 callersFunctioninit_db
Initiates db, which ensures all tables exist or are created on application launch.
src/monarch_utils/monarch_sql.rs:487
↓ 1 callersFunctioninit_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 callersFunctioninsert_game
Insert a single game into the database
src/monarch_utils/monarch_sql.rs:155
↓ 1 callersFunctioninstall_legendary
()
src/monarch_games/commands.rs:488
↓ 1 callersMethodinstall_legendary_task
(&self)
src/gui/pages/settings/update.rs:183
↓ 1 callersMethodinstall_steamcmd_task
(&self, settings: &Settings)
src/gui/pages/settings/update.rs:164
↓ 1 callersFunctioninstall_umu
()
src/monarch_games/commands.rs:442
↓ 1 callersMethodinstall_umu_task
(&self)
src/gui/pages/settings/update.rs:153
↓ 1 callersFunctionis_in_cache_dir
(path: &Path)
src/monarch_utils/monarch_fs.rs:322
↓ 1 callersFunctionis_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 callersMethodis_installed
(&self)
src/monarch_games/monarchgame.rs:128
↓ 1 callersMethodlaunch_game
(&self, game: &MonarchGame)
src/monarch_games/steam_client.rs:100
↓ 1 callersMethodlaunch_game
(&self)
src/gui/pages/game_details/update.rs:15
↓ 1 callersFunctionlegendary_is_installed
()
src/monarch_games/legendary_client.rs:172
↓ 1 callersFunctionlegendary_is_installed
For now a simple check to verify that umu-launcher exists.
src/monarch_games/windows/legendary.rs:32
↓ 1 callersFunctionlegendary_is_installed
For now a simple check to verify that umu-launcher exists.
src/monarch_games/linux/legendary.rs:34
↓ 1 callersMethodlogin
(&self)
src/monarch_games/legendary_client.rs:50
↓ 1 callersFunctionlow_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 callersFunctionmanual_add_game
(mut game: MonarchGame)
src/monarch_games/commands.rs:327
↓ 1 callersFunctionmanual_remove_game
(game: MonarchGame)
src/monarch_games/commands.rs:414
↓ 1 callersMethodmanually_generate_id
Randomly generates a Monarch ID
src/monarch_games/monarchgame.rs:110
↓ 1 callersFunctionmonarch
()
src/gui/styles/theme.rs:5
↓ 1 callersMethodopen_actions
(&mut self)
src/gui/pages/game_details/update.rs:43
↓ 1 callersFunctionopen_folder_dialog
()
src/gui/components/common/mod.rs:295
↓ 1 callersMethodopen_link
(&self, url: &str)
src/gui/pages/settings/update.rs:149
↓ 1 callersMethodopen_properties
(&mut self)
src/gui/pages/game_details/update.rs:34
↓ 1 callersMethodopen_store_page
(&mut self, url: &str)
src/gui/pages/store_details/update.rs:39
↓ 1 callersFunctionoverwrite_games
Overwrites library games
src/monarch_library/library.rs:91
↓ 1 callersFunctionpackage
(config: &Config)
package/src/main.rs:103
↓ 1 callersFunctionparse_id_monarch_com
Helper function to parse individual steam ids. Allows for concurrent parsing.
src/monarch_games/steam_client.rs:505
↓ 1 callersFunctionparse_id_steampowered_com
Helper function to parse individual steam ids. Allows for concurrent parsing.
src/monarch_games/steam_client.rs:610
↓ 1 callersFunctionparse_steam_page
Gets AppIDs and Links from Steam store search
src/monarch_games/steam_client.rs:585
↓ 1 callersFunctionparse_table
Returns String content as TOML Table
src/monarch_utils/monarch_settings.rs:307
↓ 1 callersMethodperform_search
(&mut self, search_filter: SearchFilter)
src/gui/pages/search/update.rs:14
↓ 1 callersMethodpick_default_monarch_folder
(&self)
src/gui/pages/settings/update.rs:213
↓ 1 callersFunctionproton_versions
()
src/monarch_games/commands.rs:294
↓ 1 callersMethodpush_game
Simple abstraction for pushing new game into MONARCH_STATE
src/monarch_utils/monarch_state.rs:79
↓ 1 callersFunctionread_settings_content
Parses content in settings.toml
src/monarch_utils/monarch_settings.rs:290
↓ 1 callersFunctionrefresh_library
Manually refreshes the entire Monarch library, currently only supports Steam & Epic Games (kinda) still WIP
src/monarch_games/commands.rs:78
↓ 1 callersMethodremove_game
Simple abstraction for removing a game at index
src/monarch_utils/monarch_state.rs:84
↓ 1 callersFunctionremove_legendary
()
src/monarch_games/commands.rs:532
↓ 1 callersMethodremove_legendary
(&self)
src/gui/pages/settings/update.rs:207
↓ 1 callersMethodremove_steam_secret
(&mut self, settings: &mut Settings)
src/gui/pages/settings/update.rs:71
↓ 1 callersFunctionremove_steamcmd
()
src/monarch_games/commands.rs:521
↓ 1 callersMethodremove_steamcmd
(&self)
src/gui/pages/settings/update.rs:201
↓ 1 callersFunctionremove_umu
()
src/monarch_games/commands.rs:510
↓ 1 callersMethodremove_umu
(&self)
src/gui/pages/settings/update.rs:195
↓ 1 callersMethodrequires_write_lock
(&self)
src/gui/pages/settings/mod.rs:60
↓ 1 callersMethodreset_settings
(&mut self, settings: &mut Settings)
src/gui/pages/settings/update.rs:137
← previousnext →101–200 of 406, ranked by callers