Class ClientLauncher


  • public final class ClientLauncher
    extends java.lang.Object
    • Field Detail

      • playerProfile

        public static pro.gravit.launcher.profiles.PlayerProfile playerProfile
    • Method Detail

      • getClientJVMBits

        public static int getClientJVMBits()
      • getJavaBinPath

        public static java.nio.file.Path getJavaBinPath()
      • setJavaBinPath

        public static void setJavaBinPath​(java.nio.file.Path javaBinPath)
      • checkJVMBitsAndVersion

        public static void checkJVMBitsAndVersion()
      • isLaunched

        public static boolean isLaunched()
      • setWriteParamsThread

        public static void setWriteParamsThread​(java.lang.Thread writeParamsThread)
      • getProcess

        public static java.lang.Process getProcess()
      • setClientStarted

        public static void setClientStarted()
      • launch

        public static java.lang.Process launch​(pro.gravit.launcher.hasher.HashedDir assetHDir,
                                               pro.gravit.launcher.hasher.HashedDir clientHDir,
                                               pro.gravit.launcher.profiles.ClientProfile profile,
                                               ClientLauncher.Params params,
                                               boolean pipeOutput)
                                        throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • main

        public static void main​(java.lang.String... args)
                         throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • classForName

        public static void classForName​(java.lang.ClassLoader loader,
                                        java.lang.String name)
      • setProfile

        public static void setProfile​(pro.gravit.launcher.profiles.ClientProfile profile)
      • verifyHDir

        public static void verifyHDir​(java.nio.file.Path dir,
                                      pro.gravit.launcher.hasher.HashedDir hdir,
                                      pro.gravit.launcher.hasher.FileNameMatcher matcher,
                                      boolean digest)
                               throws java.io.IOException
        Throws:
        java.io.IOException