Class IndexAssetCommand

java.lang.Object
pro.gravit.utils.command.Command
pro.gravit.launchserver.command.Command
pro.gravit.launchserver.command.hash.IndexAssetCommand

public final class IndexAssetCommand extends Command
  • Field Details

  • Constructor Details

    • IndexAssetCommand

      public IndexAssetCommand(LaunchServer server)
  • Method Details

    • resolveIndexFile

      public static Path resolveIndexFile(Path assetDir, String name)
    • resolveObjectFile

      public static Path resolveObjectFile(Path assetDir, String hash)
    • getArgsDescription

      public String getArgsDescription()
      Specified by:
      getArgsDescription in class pro.gravit.utils.command.Command
    • getUsageDescription

      public String getUsageDescription()
      Specified by:
      getUsageDescription in class pro.gravit.utils.command.Command
    • invoke

      public void invoke(String... args) throws Exception
      Specified by:
      invoke in class pro.gravit.utils.command.Command
      Throws:
      Exception