Package pro.gravit.launcher.profiles
Class ClientProfile
java.lang.Object
pro.gravit.launcher.profiles.ClientProfile
- All Implemented Interfaces:
Comparable<ClientProfile>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumstatic classstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionClientProfile(List<String> update, List<String> updateExclusions, List<String> updateShared, List<String> updateVerify, Set<OptionalFile> updateOptional, List<String> jvmArgs, List<String> classPath, List<String> modulePath, List<String> modules, List<String> altClassPath, List<String> clientArgs, List<String> compatClasses, Map<String, String> properties, List<ClientProfile.ServerProfile> servers, ClientProfile.ClassLoaderConfig classLoaderConfig, List<ClientProfile.CompatibilityFlags> flags, ClientProfile.Version version, String assetIndex, String dir, String assetDir, int recommendJavaVersion, int minJavaVersion, int maxJavaVersion, ClientProfile.ProfileDefaultSettings settings, int sortIndex, UUID uuid, String title, String info, String mainClass) -
Method Summary
Modifier and TypeMethodDescriptionvoidintbooleancontainsProperty(String name) booleanString[]pro.gravit.launcher.hasher.FileNameMatcherString[]String[]pro.gravit.launcher.hasher.FileNameMatchergetDir()getFlags()getInfo()String[]intintpro.gravit.utils.launch.LaunchOptions.ModuleConfgetOptionalFile(String file) getProperty(String name) intintintgetTitle()getUUID()booleaninthashCode()booleanbooleanDeprecated.voidputProperty(String name, String value) voidsetClassLoaderConfig(ClientProfile.ClassLoaderConfig classLoaderConfig) voidvoidvoidvoidvoidsetVersion(ClientProfile.Version version) toString()voidvoidverify()
-
Constructor Details
-
ClientProfile
public ClientProfile() -
ClientProfile
public ClientProfile(List<String> update, List<String> updateExclusions, List<String> updateShared, List<String> updateVerify, Set<OptionalFile> updateOptional, List<String> jvmArgs, List<String> classPath, List<String> modulePath, List<String> modules, List<String> altClassPath, List<String> clientArgs, List<String> compatClasses, Map<String, String> properties, List<ClientProfile.ServerProfile> servers, ClientProfile.ClassLoaderConfig classLoaderConfig, List<ClientProfile.CompatibilityFlags> flags, ClientProfile.Version version, String assetIndex, String dir, String assetDir, int recommendJavaVersion, int minJavaVersion, int maxJavaVersion, ClientProfile.ProfileDefaultSettings settings, int sortIndex, UUID uuid, String title, String info, String mainClass)
-
-
Method Details
-
getDefaultServerProfile
-
compareTo
- Specified by:
compareToin interfaceComparable<ClientProfile>
-
getAssetIndex
-
getAssetUpdateMatcher
public pro.gravit.launcher.hasher.FileNameMatcher getAssetUpdateMatcher() -
getClassPath
-
getModulePath
-
getModules
-
getAlternativeClassPath
-
getClientArgs
-
getDir
-
setDir
-
getAssetDir
-
getUpdateExclusions
-
getClientUpdateMatcher
public pro.gravit.launcher.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
-
setTitle
-
getInfo
-
setInfo
-
getVersion
-
setVersion
-
isUpdateFastCheck
Deprecated. -
toString
-
getUUID
-
setUUID
-
hasFlag
-
verify
public void verify() -
getProperty
-
putProperty
-
containsProperty
-
clearProperties
public void clearProperties() -
getProperties
-
getCompatClasses
-
equals
-
hashCode
public int hashCode() -
getClassLoaderConfig
-
setClassLoaderConfig
-
isLimited
public boolean isLimited() -
getFlags
-