Class ClientProfile
java.lang.Object
pro.gravit.launcher.base.profiles.ClientProfile
- All Implemented Interfaces:
Comparable<ClientProfile>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumstatic classstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionClientProfile(String title, UUID uuid, ClientProfile.Version version, String info, String dir, int sortIndex, String assetIndex, String assetDir, List<String> update, List<String> updateExclusions, List<String> updateVerify, Set<OptionalFile> updateOptional, List<String> jvmArgs, List<String> classPath, List<String> altClassPath, List<String> clientArgs, List<String> compatClasses, List<String> loadNatives, Map<String, String> properties, List<ClientProfile.ServerProfile> servers, ClientProfile.ClassLoaderConfig classLoaderConfig, List<ClientProfile.CompatibilityFlags> flags, int recommendJavaVersion, int minJavaVersion, int maxJavaVersion, ClientProfile.ProfileDefaultSettings settings, boolean limited, String mainClass, String mainModule, pro.gravit.utils.launch.LaunchOptions.ModuleConf moduleConf) -
Method Summary
Modifier and TypeMethodDescriptionintbooleanpro.gravit.launcher.core.hasher.FileNameMatcherpro.gravit.launcher.core.hasher.FileNameMatchergetDir()getFlags()getInfo()intintpro.gravit.utils.launch.LaunchOptions.ModuleConfgetOptionalFile(String file) getProperty(String name) intintintgetTitle()getUUID()booleaninthashCode()booleanbooleanDeprecated.voidsetProfileFilePath(Path profileFilePath) toString()voidvoidverify()
-
Constructor Details
-
ClientProfile
public ClientProfile(String title, UUID uuid, ClientProfile.Version version, String info, String dir, int sortIndex, String assetIndex, String assetDir, List<String> update, List<String> updateExclusions, List<String> updateVerify, Set<OptionalFile> updateOptional, List<String> jvmArgs, List<String> classPath, List<String> altClassPath, List<String> clientArgs, List<String> compatClasses, List<String> loadNatives, Map<String, String> properties, List<ClientProfile.ServerProfile> servers, ClientProfile.ClassLoaderConfig classLoaderConfig, List<ClientProfile.CompatibilityFlags> flags, int recommendJavaVersion, int minJavaVersion, int maxJavaVersion, ClientProfile.ProfileDefaultSettings settings, boolean limited, String mainClass, String mainModule, pro.gravit.utils.launch.LaunchOptions.ModuleConf moduleConf)
-
-
Method Details
-
getDefaultServerProfile
-
compareTo
- Specified by:
compareToin interfaceComparable<ClientProfile>
-
getAssetIndex
-
getAssetUpdateMatcher
public pro.gravit.launcher.core.hasher.FileNameMatcher getAssetUpdateMatcher() -
getClassPath
-
getAlternativeClassPath
-
getClientArgs
-
getDir
-
getAssetDir
-
getUpdateExclusions
-
getUpdate
-
getUpdateVerify
-
getClientUpdateMatcher
public pro.gravit.launcher.core.hasher.FileNameMatcher getClientUpdateMatcher() -
getJvmArgs
-
getMainClass
-
getMainModule
-
getModuleConf
public pro.gravit.utils.launch.LaunchOptions.ModuleConf getModuleConf() -
getServers
-
getServerAddress
-
getOptional
-
getRecommendJavaVersion
public int getRecommendJavaVersion() -
getMinJavaVersion
public int getMinJavaVersion() -
getMaxJavaVersion
public int getMaxJavaVersion() -
getSettings
-
getLoadNatives
-
updateOptionalGraph
public void updateOptionalGraph() -
getOptionalFile
-
getServerPort
public int getServerPort() -
getSortIndex
public int getSortIndex() -
getTitle
-
getInfo
-
getVersion
-
isUpdateFastCheck
Deprecated. -
toString
-
getUUID
-
hasFlag
-
verify
public void verify() -
getProperty
-
getProperties
-
getCompatClasses
-
equals
-
hashCode
public int hashCode() -
getClassLoaderConfig
-
isLimited
public boolean isLimited() -
getFlags
-
getProfileFilePath
-
setProfileFilePath
-