MCPcopy Create free account

hub / github.com/HelixLauncher/HelixLauncher / functions

Functions108 in github.com/HelixLauncher/HelixLauncher

↓ 10 callersMethodget
( &self, name: &GradleSpecifier, client: &reqwest::Client, config: &Config,
helixlauncher-core/src/launch/asset.rs:167
↓ 9 callersMethodget_base_path
(&self)
helixlauncher-core/src/config.rs:116
↓ 7 callersMethodget_instances_path
(&self)
helixlauncher-core/src/config.rs:120
↓ 6 callersMethodsave
(&self)
helixlauncher-core/src/auth/account.rs:52
↓ 4 callersFunctionlist_instances
(config: &Config)
helixlauncher-cli/src/main.rs:197
↓ 3 callersFunctiondownload_file
( client: &reqwest::Client, path: &Path, url: &str, size: u32, hash: &component::Hash, )
helixlauncher-core/src/launch/mod.rs:50
↓ 3 callersMethodget_component_meta
( &self, component_id: &str, component_version: &str, )
helixlauncher-core/src/meta.rs:20
↓ 3 callersMethodinitial_auth
( &self, callback: impl Fn(String, String, String), )
helixlauncher-core/src/auth/mod.rs:42
↓ 2 callersMethodaccount
(self, account: Option<&Account>)
helixlauncher-core/src/launch/prepared.rs:71
↓ 2 callersMethodauthenticate
( &self, access_token: String, refresh_token: String, )
helixlauncher-core/src/auth/mod.rs:115
↓ 2 callersFunctioncheck_hash
(buf: &[u8], hash: &component::Hash)
helixlauncher-core/src/launch/mod.rs:114
↓ 2 callersFunctioncheck_path
This is not an exhaustive check on being a _valid_ path, but should be one on being a _dangerous_ path.
helixlauncher-core/src/fsutil.rs:19
↓ 2 callersMethodget_meta_url
(&self)
helixlauncher-core/src/config.rs:132
↓ 2 callersFunctionmerge_components
TODO: proper error (and progress?) handling TODO: this doesn't handle stuff like Rosetta or running x86 Java on x86_64 at all
helixlauncher-core/src/launch/asset.rs:206
↓ 2 callersFunctionmeta_url_default
()
helixlauncher-core/src/config.rs:48
↓ 2 callersFunctionplatform_matches
(platform: Platform)
helixlauncher-core/src/launch/asset.rs:295
↓ 2 callersFunctionprepare_launch
( config: &Config, instance: &instance::Instance, components: &MergedComponents, launch_option
helixlauncher-core/src/launch/prepared.rs:96
↓ 1 callersMethodaccount_or_default
(&self)
helixlauncher-core/src/launch/prepared.rs:79
↓ 1 callersFunctionadd_account_cmd
(config: &Config)
helixlauncher-cli/src/main.rs:213
↓ 1 callersFunctioncheck_file
(path: &Path, size: u32, hash: &component::Hash)
helixlauncher-core/src/launch/mod.rs:98
↓ 1 callersFunctioncopy_file
(from: &Path, to: &Path)
helixlauncher-core/src/fsutil.rs:6
↓ 1 callersFunctioncreate_instance
( config: &Config, name: Option<String>, version: Option<String>, modloader: Option<ClapModloa
helixlauncher-cli/src/main.rs:137
↓ 1 callersMethoddownload_curseforge
(&self, instance: &Instance)
helixlauncher-core/src/addon/curseforge.rs:6
↓ 1 callersMethoddownload_modrinth
(&self, instance: &Instance)
helixlauncher-core/src/addon/modrinth.rs:6
↓ 1 callersFunctiongenerate_classpath
(classpath: &[String])
helixlauncher-core/src/launch/mod.rs:46
↓ 1 callersFunctionget_accounts_cmd
(config: &Config)
helixlauncher-cli/src/main.rs:244
↓ 1 callersMethodget_all
TODO: parallelize
helixlauncher-core/src/launch/asset.rs:45
↓ 1 callersMethodget_assets_path
(&self)
helixlauncher-core/src/config.rs:128
↓ 1 callersFunctionget_base_path
()
helixlauncher-core/src/config.rs:174
↓ 1 callersMethodget_component_index
( &self, component_id: &str, )
helixlauncher-core/src/meta.rs:74
↓ 1 callersMethodget_component_version
(&self, id: &str)
helixlauncher-core/src/launch/instance.rs:199
↓ 1 callersMethodget_game_dir
(&self)
helixlauncher-core/src/launch/instance.rs:195
↓ 1 callersMethodget_jar
( &self, paths: &HashMap<&GradleSpecifier, PathBuf>, game_dir: &Path, )
helixlauncher-core/src/launch/asset.rs:85
↓ 1 callersMethodget_libraries_path
(&self)
helixlauncher-core/src/config.rs:124
↓ 1 callersMethodget_path
( &self, name: &GradleSpecifier, config: &Config, _instance: &Instance, )
helixlauncher-core/src/launch/asset.rs:130
↓ 1 callersMethodhas_trait
(&self, check: component::Trait)
helixlauncher-core/src/launch/asset.rs:40
↓ 1 callersMethodhas_world
(&self)
helixlauncher-core/src/launch/prepared.rs:75
↓ 1 callersMethodinit
(&mut self)
helixlauncher-gui/src/accounts.rs:147
↓ 1 callersMethodinto_meta
( &self, meta_client: &MetaClient<'a>, )
helixlauncher-core/src/launch/instance.rs:80
↓ 1 callersMethodlaunch
TODO: add better API for log output
helixlauncher-core/src/launch/prepared.rs:39
↓ 1 callersFunctionlaunch_instance
( config: &Config, name: String, world: Option<String>, dry_run: bool, )
helixlauncher-cli/src/main.rs:109
↓ 1 callersMethodrefresh
(&self, account: Account)
helixlauncher-core/src/auth/mod.rs:96
↓ 1 callersMethodsave_config
(&self)
helixlauncher-core/src/config.rs:87
↓ 1 callersFunctionsearch_java
()
helixlauncher-java/src/search.rs:69
↓ 1 callersFunctionsearch_java_dirs
(result: &mut HashSet<PathBuf>)
helixlauncher-java/src/search.rs:55
↓ 1 callersMethodselected
returns the account specified in the [default](`AccountConfig::default`) field, or the first, if only a single account exists and no default is specif
helixlauncher-core/src/auth/account.rs:59
↓ 1 callersMethodworld
(self, world: Option<String>)
helixlauncher-core/src/launch/prepared.rs:67
Functionadd_account_callback
(code: String, uri: String, message: String)
helixlauncher-cli/src/main.rs:207
Functionassets_default
()
helixlauncher-core/src/config.rs:44
Methodclean_name
(name: &str)
helixlauncher-core/src/launch/asset.rs:123
Functioncomponent_version_exists
()
helixlauncher-core/src/meta.rs:227
Methodcomponent_version_exists
( &self, component_id: &str, component_version: &str, )
helixlauncher-core/src/meta.rs:106
Functioncomponent_version_exists_same_client
()
helixlauncher-core/src/meta.rs:249
Functioncreate_config_in_existing_dir
()
helixlauncher-core/src/config.rs:198
Functioncreate_config_in_non_existing_dir
()
helixlauncher-core/src/config.rs:187
Methodcreate_instance
( &mut self, name: String, version: String, modloader_string: String,
helixlauncher-gui/src/instances.rs:68
Methodcurseforge
(version_id: String)
helixlauncher-core/src/addon/mod.rs:64
Methoddata
(&self, index: QModelIndex, role: i32)
helixlauncher-gui/src/instances.rs:107
Methoddata
(&self, index: QModelIndex, role: i32)
helixlauncher-gui/src/accounts.rs:114
Methoddefault_config
(base_path: PathBuf)
helixlauncher-core/src/config.rs:106
Methoddelete
(&self, instance: &Instance)
helixlauncher-core/src/addon/mod.rs:95
Methoddownload
(&self, instance: &Instance)
helixlauncher-core/src/addon/mod.rs:78
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
helixlauncher-core/src/launch/instance.rs:35
Methodfrom
(e: io::Error)
helixlauncher-core/src/config.rs:152
Methodfrom_path
Fetch instance from its path. ``` # use helixlauncher_core::launch::instance::Instance; let instance = Instance::from_path(r"/home/user/.launcher/ins
helixlauncher-core/src/launch/instance.rs:171
Functionget_component_index
()
helixlauncher-core/src/meta.rs:189
Functionget_component_index_invalid_id
()
helixlauncher-core/src/meta.rs:304
Functionget_component_index_same_client
()
helixlauncher-core/src/meta.rs:211
Functionget_component_meta
()
helixlauncher-core/src/meta.rs:149
Functionget_component_meta_invalid_formatting
()
helixlauncher-core/src/meta.rs:325
Functionget_component_meta_invalid_version
()
helixlauncher-core/src/meta.rs:278
Functionget_component_meta_same_client
()
helixlauncher-core/src/meta.rs:169
Methodget_folder
(&self)
helixlauncher-core/src/addon/mod.rs:52
Methodget_message
(&mut self)
helixlauncher-gui/src/accounts.rs:19
Methodinit
(&mut self)
helixlauncher-gui/src/instances.rs:156
Functioninstances_default
()
helixlauncher-core/src/config.rs:36
Functionjava_info
(path: &Path)
helixlauncher-java/src/search.rs:75
Methodlaunch
(&self, item: usize)
helixlauncher-gui/src/instances.rs:31
Functionlibraries_default
()
helixlauncher-core/src/config.rs:40
Methodlist_instances
( instances_dir: P, )
helixlauncher-core/src/launch/instance.rs:187
Functionmain
()
helixlauncher-gui/src/main.rs:20
Functionmain
()
helixlauncher-core/build.rs:2
Functionmain
()
helixlauncher-cli/src/main.rs:69
Functionmain
()
helixlauncher-javalaunch/build.rs:1
Functionmain
()
helixlauncher-javalaunch/src/main.rs:60
Functionmain
()
helixlauncher-java/examples/list_java.rs:1
Methodmodrinth
(version_id: String)
helixlauncher-core/src/addon/mod.rs:71
Methodnew
`appdir` is the rDNS name of your application, also used as the macOS bundle id or the `.desktop` file name on Linux. It will be used in the location
helixlauncher-core/src/config.rs:57
Methodnew
(config: &'a Config)
helixlauncher-core/src/meta.rs:13
Methodnew
Make a new instance. ``` # fn main() -> Result<(), Box<dyn std::error::Error>> { # use helixlauncher_core::launch::instance::{Instance, InstanceLaunc
helixlauncher-core/src/launch/instance.rs:107
Methodnew
(client_id: I)
helixlauncher-core/src/auth/mod.rs:35
Methodnew
(account_json: PathBuf)
helixlauncher-core/src/auth/account.rs:36
Methodnew_with_data_dir
(_appid: &str, _name: &str, path: PathBuf)
helixlauncher-core/src/config.rs:69
Methodread_config
(base_path: P)
helixlauncher-core/src/config.rs:96
Methodremove
(&self, uuid: QString)
helixlauncher-gui/src/accounts.rs:75
Methodrole_names
(&self)
helixlauncher-gui/src/instances.rs:146
Methodrole_names
(&self)
helixlauncher-gui/src/accounts.rs:138
Methodrow_count
(&self)
helixlauncher-gui/src/instances.rs:101
Methodrow_count
(&self)
helixlauncher-gui/src/accounts.rs:103
Functionsearch_java_dir
( result: &mut HashSet<PathBuf>, dir: P, )
helixlauncher-java/src/search.rs:31
next →1–100 of 108, ranked by callers