MCPcopy Create free account

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

Functions406 in github.com/Monarch-Launcher/Monarch

↓ 1 callersFunctionsave_image_content
Saves the content from response to file
src/monarch_utils/monarch_download.rs:26
↓ 1 callersFunctionset_default_settings
Writes default settings to settings.toml
src/monarch_utils/monarch_settings.rs:237
↓ 1 callersFunctionset_install_dir
Sets the installation directory of a given Steam game
src/monarch_utils/monarch_vdf.rs:195
↓ 1 callersFunctionset_secret
Set secret in secure store
src/monarch_utils/commands.rs:112
↓ 1 callersFunctionstart
Runs HouseKeeper loop on seperate thread
src/monarch_utils/housekeeping.rs:20
↓ 1 callersFunctionsteam_is_installed
Returns whether or not Steam launcher is installed
src/monarch_games/windows/steam.rs:138
↓ 1 callersFunctionsteam_is_installed
Returns whether or not Steam launcher is installed
src/monarch_games/linux/steam.rs:203
↓ 1 callersFunctionsteamcmd_is_installed
Returns if SteamCMD is installed on system or not.
src/monarch_games/steam_client.rs:121
↓ 1 callersMethodsubscription
(&self)
src/gui/mod.rs:132
↓ 1 callersMethodtheme
(&self, _window_id: Id)
src/gui/mod.rs:128
↓ 1 callersMethodtick
(&mut self)
src/gui/pages/search/update.rs:76
↓ 1 callersFunctiontime_to_remove
Checks if it's time to remove cached thumbnail
src/monarch_utils/housekeeping.rs:94
↓ 1 callersMethodtoggle_epic
(&mut self, settings: &mut Settings, state: bool)
src/gui/pages/settings/update.rs:86
↓ 1 callersMethodtoggle_quicklaunch
(&mut self, settings: &mut Settings, state: bool)
src/gui/pages/settings/update.rs:18
↓ 1 callersMethodtoggle_steam
(&mut self, settings: &mut Settings, state: bool)
src/gui/pages/settings/update.rs:28
↓ 1 callersMethodupdate
(&mut self, msg: Message)
src/gui/pages/library/mod.rs:45
↓ 1 callersMethodupdate
(&mut self, msg: Message)
src/gui/pages/library/add_game.rs:65
↓ 1 callersMethodupdate
(&mut self, msg: Message)
src/gui/pages/store_details/mod.rs:61
↓ 1 callersMethodupdate_actions_msg
(&mut self, actions_msg: actions::Message)
src/gui/pages/game_details/update.rs:63
↓ 1 callersMethodupdate_epic_credentials
(&mut self, settings: &mut Settings)
src/gui/pages/settings/update.rs:91
↓ 1 callersFunctionupdate_game
Uninstall a Steam game via SteamCMD
src/monarch_games/steam_client.rs:390
↓ 1 callersFunctionupdate_game
Tells Monarch to download specified game
src/monarch_games/commands.rs:221
↓ 1 callersFunctionupdate_game_properties
Updates the properties of a game in the library.
src/monarch_games/commands.rs:278
↓ 1 callersMethodupdate_games
(&mut self, games: Vec<MonarchWebApiGame>)
src/gui/pages/library/add_game.rs:159
↓ 1 callersMethodupdate_games
(&mut self, games: Vec<MonarchWebApiGame>)
src/gui/pages/search/update.rs:25
↓ 1 callersMethodupdate_properties_msg
(&mut self, prop_msg: properties::Message)
src/gui/pages/game_details/update.rs:51
↓ 1 callersMethodupdate_steam_credentials
(&mut self, settings: &mut Settings)
src/gui/pages/settings/update.rs:33
↓ 1 callersMethodupdate_steam_secret
(&mut self, settings: &mut Settings)
src/gui/pages/settings/update.rs:61
↓ 1 callersFunctionvalid_settings
Main function for verifying that Monarch settings are valid. TODO: Come back and implement tighter checks on settings.
src/monarch_utils/monarch_settings.rs:319
↓ 1 callersFunctionverify_env_vars
()
build.rs:9
↓ 1 callersFunctionverify_monarch_folders
Folder to store image resources for game thumbnails etc...
src/monarch_utils/monarch_fs.rs:18
↓ 1 callersMethodview
(&self, interactive: bool)
src/gui/components/gamecard/game_browser.rs:58
↓ 1 callersMethodview
(&self)
src/gui/pages/search/mod.rs:64
↓ 1 callersMethodview
(&self)
src/gui/pages/game_details/mod.rs:59
↓ 1 callersMethodview
(&self)
src/gui/pages/store_details/mod.rs:85
↓ 1 callersMethodview_coming_soon
(&self)
src/gui/pages/settings/view.rs:407
↓ 1 callersMethodview_epic
(&self, settings: &Settings)
src/gui/pages/settings/view.rs:323
↓ 1 callersMethodview_game_details
(&self)
src/gui/pages/game_details/view.rs:17
↓ 1 callersMethodview_grid
(&self, interactive: bool)
src/gui/components/gamecard/game_browser.rs:37
↓ 1 callersMethodview_monarch
(&self, settings: &Settings)
src/gui/pages/settings/view.rs:106
↓ 1 callersMethodview_scaled
(&self, interactive: bool, size_scale: f32)
src/gui/components/gamecard/gamecard.rs:60
↓ 1 callersMethodview_settings_page
( &self, settings: &Settings, )
src/gui/pages/settings/view.rs:16
↓ 1 callersMethodview_steam
(&self, settings: &Settings)
src/gui/pages/settings/view.rs:188
↓ 1 callersMethodview_store_details
(&self)
src/gui/pages/store_details/view.rs:16
↓ 1 callersFunctionvisit_dir
Recursively visits all directories and subdirectories to find executables
src/monarch_utils/monarch_fs.rs:194
↓ 1 callersFunctionwrite_settings
Write settings to file where header is the "header" you want to change under, key is the name of the setting and value is the new value the setting sh
src/monarch_utils/monarch_settings.rs:261
↓ 1 callersFunctionwrite_settings
Write setting to settings.toml Don't return custom error message as they instead return the state of settings according to backend.
src/monarch_utils/commands.rs:66
Method_clear_settings_poison
Attempt to fix RwLock of Settings if error occurs Could be useful in future
src/monarch_utils/monarch_state.rs:134
Function_dropdown
( options: impl Into<Cow<'a, [T]>>, selected: Option<T>, on_selected: impl Fn(T) -> Message + 'a,
src/gui/components/common/mod.rs:234
Function_text_area
( content: &'a text_editor::Content, on_action: impl Fn(text_editor::Action) -> Message + 'a, )
src/gui/components/common/mod.rs:219
Function_text_button
( label: &str, on_press: Option<Message>, )
src/gui/components/common/mod.rs:132
Method_update
(&mut self, _msg: Message)
src/gui/components/header/mod.rs:16
Functionactive_button
(theme: &Theme, status: widget_button::Status)
src/gui/styles/header.rs:54
Functioncontent
(theme: &Theme)
src/gui/styles/modal.rs:12
Functiondefault
(theme: &Theme, status: text_input::Status)
src/gui/styles/text_input.rs:37
Methoddefault
()
src/monarch_games/stores.rs:32
Methoddefault
()
src/monarch_games/monarchgame.rs:369
Methoddefault
()
src/gui/mod.rs:471
Methoddefault
()
src/gui/pages/library/mod.rs:309
Methoddefault
()
src/gui/pages/library/add_game.rs:49
Methoddefault
()
src/gui/pages/game_details/mod.rs:91
Methoddefault
()
src/gui/pages/home/mod.rs:28
Methoddefault
()
src/gui/pages/settings/mod.rs:95
Methoddefault
()
src/gui/pages/store_details/mod.rs:104
Methoddefault
()
src/monarch_utils/monarch_settings.rs:138
Methoddelete_steam_secret
(&mut self, settings: &mut Settings)
src/gui/pages/settings/update.rs:79
Functiondestructive
(theme: &Theme, status: button::Status)
src/gui/styles/button.rs:119
Functiondownload_game
Downloads a game into default folder
src/monarch_games/monarch_client.rs:236
Methoddrop
(&mut self)
src/monarch_utils/monarch_state.rs:28
Methodeq
(&self, other: &Self)
src/monarch_games/monarchgame.rs:249
Methodexternal_subscription
()
src/gui/mod.rs:171
Functionexternal_subscription_stream
(_: &())
src/gui/mod.rs:455
Functionfind_games
Search for the name of a game and return the results. TODO: Add support for things like filters in the future. TODO: Remove unwraps after testing
src/monarch_games/monarch_client.rs:406
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/monarch_utils/monarch_vdf.rs:56
Methodformat_cache
(&self)
src/gui/pages/settings/view.rs:424
Methodfrom
Convert MonarchWebGame to MonarchGame
src/monarch_games/monarchgame.rs:140
Methodfrom
(value: Message)
src/gui/components/header/mod.rs:73
Methodfrom
(src: Settings)
src/monarch_utils/monarch_settings.rs:131
Methodfrom
(record: StoreInfoRecord)
src/monarch_utils/monarch_sql.rs:86
Methodfrom_iter
(iter: I)
src/gui/components/gamecard/container.rs:61
Methodfrom_monarchgame
(monarch_game: MonarchGame)
src/monarch_games/monarchgame.rs:337
Methodfrom_sql
( game_record: MonarchGameRecord, store_records: Vec<StoreInfoRecord>, properties_reco
src/monarch_utils/monarch_sql.rs:55
Methodgame_is_installed
(&self, _store_id: &str)
src/monarch_games/monarch_client.rs:96
Methodgame_is_installed
(&self, _store_id: &str)
src/monarch_games/steam_client.rs:92
Methodgame_is_installed
(&self, _store_id: &str)
src/monarch_games/legendary_client.rs:137
Methodget_description
(&self)
src/monarch_games/monarchgame.rs:196
Functionget_executables
(game: &mut MonarchGame)
src/monarch_games/commands.rs:360
Functionget_executables
Returns all found executables in a given directory
src/monarch_utils/monarch_fs.rs:187
Functionget_game_properties
(game: &mut MonarchGame)
src/monarch_games/monarch_client.rs:430
Functionget_legendary_dir
Returns path to directory where Monarch stores its copy of the legendary launcher binary.
src/monarch_games/macos/legendary.rs:10
Functionget_library
Returns games installed by Steam Client.
src/monarch_games/steam_client.rs:227
Functionget_library
Finds local steam library installed on current system
src/monarch_games/windows/steam.rs:143
Functionget_library
Finds local steam library installed on current system
src/monarch_games/linux/steam.rs:208
Functionget_library
Fetch all games stores in db, including their properties and storefronts
src/monarch_utils/monarch_sql.rs:111
Methodget_name
(&self)
src/monarch_games/monarchgame.rs:166
Methodget_price
(&self)
src/monarch_games/monarchgame.rs:200
Functionget_settings
Function to do unsafe read of SETTINGS_STATE
src/monarch_utils/monarch_settings.rs:201
Functionget_steamcmd_exe
()
src/monarch_games/steam_client.rs:428
Functionicon_button
( on_press: Option<Message>, is_hovered: bool, icon: svg::Handle, rotation: f32, // Radians )
src/gui/components/common/mod.rs:62
Functioninit
Checks that a settings.toml file exists, otherwise attempts to create new file and populate with default settings
src/monarch_utils/monarch_settings.rs:216
← previousnext →201–300 of 406, ranked by callers