MCPcopy Create free account

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

Functions406 in github.com/Monarch-Launcher/Monarch

↓ 131 callersMethodinto
(self)
src/monarch_utils/monarch_vdf.rs:277
↓ 78 callersFunctiondefault
(theme: &Theme, status: text_editor::Status)
src/gui/styles/editor.rs:4
↓ 68 callersMethodwidth
(mut self, width: Length)
src/gui/components/modal/mod.rs:31
↓ 51 callersMethodis_empty
(&self)
src/gui/components/gamecard/container.rs:14
↓ 47 callersFunctioncontainer
(theme: &Theme)
src/gui/styles/header.rs:4
↓ 26 callersFunctionshow_error
Display an error modal with the given message.
src/gui/mod.rs:61
↓ 25 callersFunctiontext
(theme: &Theme, status: button::Status)
src/gui/styles/button.rs:182
↓ 22 callersMethodread
(path: &Path)
src/monarch_utils/monarch_vdf.rs:33
↓ 13 callersFunctionbutton
(theme: &Theme, status: widget_button::Status)
src/gui/styles/header.rs:23
↓ 12 callersFunctionpath_exists
Abstraction to check whether a given path exists already or not
src/monarch_utils/monarch_fs.rs:176
↓ 11 callersFunctionget_monarch_home
Returns the monarch data folder from settings.toml
src/monarch_utils/monarch_fs.rs:51
↓ 11 callersMethodwrite_settings
(&self, settings: &Settings)
src/gui/pages/settings/update.rs:142
↓ 10 callersMethodget_store_id
(&self)
src/monarch_games/monarchgame.rs:189
↓ 10 callersMethodget_store_name
(&self)
src/monarch_games/monarchgame.rs:182
↓ 8 callersFunctionget_settings
Returns settings read from settings.toml
src/monarch_utils/commands.rs:59
↓ 8 callersFunctionget_settings_path
()
src/monarch_utils/monarch_fs.rs:91
↓ 7 callersFunctioncreate_dir
Attempts to create an empty directory and returns result
src/monarch_utils/monarch_fs.rs:181
↓ 6 callersFunctiongenerate_cache_image_path
Create a name for image file in cache directory Can be used to download image and check if an image already exists
src/monarch_utils/monarch_fs.rs:291
↓ 6 callersMethodget_db_pool_arc
(&self)
src/monarch_utils/monarch_state.rs:128
↓ 6 callersFunctionget_resources_cache
Returns path to store temporary images
src/monarch_utils/monarch_fs.rs:278
↓ 6 callersFunctionsteamcmd_command
(args: Vec<&str>)
src/monarch_games/macos/steam.rs:16
↓ 5 callersFunctionfind_linux_binary
(binary_name: &str)
src/monarch_utils/monarch_fs.rs:218
↓ 5 callersFunctiongenerate_monarch_home
()
src/monarch_utils/monarch_fs.rs:82
↓ 5 callersFunctionget_game_properties
(game: &mut MonarchGame)
src/monarch_games/commands.rs:410
↓ 5 callersFunctionget_steamcmd_login
Since login is used for multiple commands it gets abstracted to it's own function.
src/monarch_games/steam_client.rs:463
↓ 5 callersMethodinto_monarchgame
(&self)
src/monarch_games/monarchgame.rs:243
↓ 5 callersMethodon_close
(mut self, message: Message)
src/gui/components/modal/mod.rs:26
↓ 5 callersMethodrun_legendary_cmd
Abstraction for all legendary functions to run terminal commands.
src/monarch_games/legendary_client.rs:39
↓ 5 callersFunctionsecondary_button
( label: &str, on_press: Option<Message>, )
src/gui/components/common/mod.rs:90
↓ 4 callersFunctiongenerate_image_filename
Generates a filename without any special characters or spaces
src/monarch_utils/monarch_fs.rs:311
↓ 4 callersMethodget_game
Returns a library game with matching id. Useful when you might need some properties of a game.
src/monarch_utils/monarch_state.rs:103
↓ 4 callersMethodget_library_games
Returns what the backend thinks is the users library.
src/monarch_utils/monarch_state.rs:68
↓ 4 callersFunctionget_umu_exe
Returns path to umu-launcher binary.
src/monarch_games/linux/umu.rs:36
↓ 4 callersFunctionget_unix_home
Returns Unix $HOME. DO NOT USE THIS ON WINDOWS!
src/monarch_utils/monarch_fs.rs:42
↓ 4 callersFunctionother_primary_button
( label: &str, on_press: Option<Message>, is_hovered: bool, icon: svg::Handle, rotation: f
src/gui/components/common/mod.rs:24
↓ 4 callersFunctionparse_steam_ids
Converts SteamApp ids into MonarchGames.
src/monarch_games/steam_client.rs:433
↓ 4 callersFunctionread_settings
Read all settings from file
src/monarch_utils/monarch_settings.rs:283
↓ 4 callersFunctionspawn_terminal
Spawn a new terminal window with the given command and environment variables.
src/monarch_utils/monarch_terminal.rs:6
↓ 3 callersFunctionadd_game
Functionality for adding a new persistent game that's been installed.
src/monarch_library/library.rs:28
↓ 3 callersFunctiondelete_secret
Delete secret in secure store
src/monarch_utils/commands.rs:140
↓ 3 callersFunctiondownload_thumbnail
Tell backend to download cover/thumbnail for game.
src/monarch_games/commands.rs:92
↓ 3 callersFunctiongenerate_library_image_path
Create a name for image file in cache directory
src/monarch_utils/monarch_fs.rs:301
↓ 3 callersFunctionget_default_libraryfolders_location
Returns default path to libraryfolders.vdf used by steam on Linux systems
src/monarch_games/macos/steam.rs:53
↓ 3 callersFunctionget_games
Returns games stored in library.db3
src/monarch_library/library.rs:11
↓ 3 callersFunctionget_legendary_dir
Returns path to directory where Monarch stores its copy of the legendary launcher binary.
src/monarch_games/windows/legendary.rs:21
↓ 3 callersFunctionget_library
Returns MonarchGames from library.json
src/monarch_library/commands.rs:12
↓ 3 callersFunctionget_log_dir
Creates path to log folder that should be located under %appdata%. Logger gets initialised before MONARCH_STATE, which uses logging, therefore we manu
src/monarch_utils/monarch_logger.rs:61
↓ 3 callersFunctionget_password
Retrieve password from OS's secure store.
src/monarch_utils/monarch_credentials.rs:13
↓ 3 callersFunctionget_resources_library
Returns path to store thumbnails for games in library
src/monarch_utils/monarch_fs.rs:284
↓ 3 callersFunctionget_resources_path
Returns path to resources folder. Should never fail during runtime because of init_monarch_fs, but if it does it returns an empty string.
src/monarch_utils/monarch_fs.rs:272
↓ 3 callersMethodget_settings_ptr
Get a copy of the Arc<RwLock<Settings>> contained in MONARCH_STATE
src/monarch_utils/monarch_state.rs:124
↓ 3 callersFunctionget_steamcmd_dir
Windows specific function for creating path to \%appdata%\Monarch\SteamCMD\
src/monarch_games/windows/steam.rs:95
↓ 3 callersFunctionget_umu_dir
Returns path to directory where Monarch stores its copy of the umu-launcher binary.
src/monarch_games/linux/umu.rs:29
↓ 3 callersMethodhas_properties
(&self)
src/monarch_games/monarchgame.rs:135
↓ 3 callersFunctionopen_file_dialog
(filter_name: &str, filter_extensions: &[&str])
src/gui/components/common/mod.rs:288
↓ 3 callersFunctionremove_game
Tells Monarch to remove specified game
src/monarch_games/commands.rs:236
↓ 3 callersMethodsearch_games
(&self, name: &str, _filter: &SearchFilter)
src/monarch_games/steam_client.rs:53
↓ 3 callersFunctionsteamcmd_is_installed
()
src/monarch_games/commands.rs:467
↓ 3 callersFunctiontable_exists
Helper function for checking if a tables exists or needs to be created
src/monarch_utils/monarch_sql.rs:544
↓ 3 callersMethodto_search_result
(&self)
src/monarch_games/monarchgame.rs:327
↓ 3 callersFunctionumu_run
Executes the game using umu-launcher to run in proton.
src/monarch_games/linux/umu.rs:147
↓ 3 callersFunctionuninstall_game
Uninstall a Steam game via SteamCMD
src/monarch_games/steam_client.rs:351
↓ 3 callersFunctionwrite_toml_content
Writes changes to settings.toml
src/monarch_utils/monarch_settings.rs:271
↓ 2 callersFunction_text_input
( placeholder: &str, value: &str, secure: bool, on_change: impl Fn(String) -> Message + 'a, )
src/gui/components/common/mod.rs:201
↓ 2 callersFunctiondanger_button
( label: &str, on_press: Option<Message>, )
src/gui/components/common/mod.rs:104
↓ 2 callersFunctiondelete_credentials
Delete credentials from OS's secure store.
src/monarch_utils/monarch_credentials.rs:23
↓ 2 callersFunctiondelete_password
Delete password in secure store TODO: Better error handling if write_settings() fails.
src/monarch_utils/commands.rs:100
↓ 2 callersFunctiondownload_artwork
Tell backend to download cover/thumbnail for game.
src/monarch_games/commands.rs:126
↓ 2 callersFunctiondownload_game
Tells Monarch to download specified game
src/monarch_games/commands.rs:154
↓ 2 callersFunctiondownload_image
Tells Monarch to attempt to download url content as image
src/monarch_utils/monarch_download.rs:14
↓ 2 callersMethodfix_settings
Verifies some settings and returns whether or not settings were changed
src/monarch_utils/monarch_settings.rs:102
↓ 2 callersFunctiongenerate_default_folder
Generates the default path where Monarch wants to store games.
src/monarch_games/monarch_client.rs:120
↓ 2 callersFunctionget_cache_size
()
src/monarch_utils/commands.rs:165
↓ 2 callersFunctionget_legendary_exe
()
src/monarch_games/legendary_client.rs:176
↓ 2 callersFunctionget_legendary_exe
Returns path to umu-launcher binary.
src/monarch_games/windows/legendary.rs:27
↓ 2 callersFunctionget_legendary_exe
Returns path to umu-launcher binary.
src/monarch_games/macos/legendary.rs:15
↓ 2 callersFunctionget_legendary_exe
Returns path to umu-launcher binary.
src/monarch_games/linux/legendary.rs:26
↓ 2 callersFunctionget_monarch_bins_path
This function returns where Monarch should place standalone binaries it downloads. For Linux it'll follow XDG_BIN_HOME convention and for Windows it'l
src/monarch_utils/monarch_fs.rs:122
↓ 2 callersFunctionget_protondb_rating
Queries ProtonDB for game proton support rating
src/monarch_games/steam_client.rs:677
↓ 2 callersFunctionget_steamcmd_exe
()
src/monarch_games/macos/steam.rs:21
↓ 2 callersFunctionget_steamcmd_exe
Returns path to the SteamCMD binary used in SteamCMD commands
src/monarch_games/linux/steam.rs:150
↓ 2 callersMethodinit
Kick off a background load of recommendations. Call this once after Default::default().
src/gui/pages/home/update.rs:105
↓ 2 callersMethodinstall_game
(&self, game: &MonarchGame, _opts: &DownloadOptions)
src/monarch_games/steam_client.rs:61
↓ 2 callersFunctioninstall_steamcmd
()
src/monarch_games/commands.rs:472
↓ 2 callersMethodlaunch
(&self)
src/monarch_games/monarchgame.rs:204
↓ 2 callersFunctionlaunch_button
( label: &str, on_press: Option<Message>, )
src/gui/components/common/mod.rs:146
↓ 2 callersFunctionlaunch_client_game
Attempts to launch Steam Client game.
src/monarch_games/steam_client.rs:232
↓ 2 callersFunctionlaunch_cmd_game
Attemps to launch SteamCMD game.
src/monarch_games/steam_client.rs:245
↓ 2 callersFunctionlaunch_game
Launch a game
src/monarch_games/commands.rs:138
↓ 2 callersFunctionlegendary_is_installed
()
src/monarch_games/commands.rs:484
↓ 2 callersFunctionopen_external_link
(url: &str)
src/monarch_utils/commands.rs:44
↓ 2 callersFunctionopen_logs
()
src/monarch_utils/commands.rs:22
↓ 2 callersFunctionparse_library_file
Parses steams libraryfolders.vdf file to structs that can be used to find installed games, folder locations, etc...
src/monarch_utils/monarch_vdf.rs:63
↓ 2 callersMethodrefresh
(&mut self, settings: &mut Settings)
src/gui/pages/settings/update.rs:116
↓ 2 callersFunctionremove_thumbnail
Removes old cache file if old enough
src/monarch_utils/housekeeping.rs:84
↓ 2 callersFunctionrun_command
(args: &str)
src/monarch_games/macos/steam.rs:41
↓ 2 callersFunctionsearch_games
Search for games on Monarch, currently only support Steam search
src/monarch_games/commands.rs:37
↓ 2 callersFunctionset_credentials
Save credentials to OS's secure store.
src/monarch_utils/monarch_credentials.rs:5
↓ 2 callersMethodset_game
(&mut self, game: Arc<Mutex<MonarchGame>>)
src/gui/pages/game_details/mod.rs:40
↓ 2 callersMethodset_library_games
For setting known library games. Should probably only be run when refreshing library.
src/monarch_utils/monarch_state.rs:74
next →1–100 of 406, ranked by callers