Class PlayerInfoParser<C>

java.lang.Object
com.xpdustry.distributor.command.cloud.parser.PlayerInfoParser<C>
All Implemented Interfaces:
org.incendo.cloud.parser.ArgumentParser<C,mindustry.net.Administration.PlayerInfo>, org.incendo.cloud.suggestion.SuggestionProviderHolder<C>

public final class PlayerInfoParser<C> extends Object implements org.incendo.cloud.parser.ArgumentParser<C,mindustry.net.Administration.PlayerInfo>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.incendo.cloud.parser.ArgumentParser

    org.incendo.cloud.parser.ArgumentParser.FutureArgumentParser<C extends Object,T extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.incendo.cloud.parser.ArgumentParseResult<mindustry.net.Administration.PlayerInfo>
    parse(org.incendo.cloud.context.CommandContext<C> ctx, org.incendo.cloud.context.CommandInput input)
     
    static <C> org.incendo.cloud.component.CommandComponent.Builder<C,mindustry.net.Administration.PlayerInfo>
     
    static <C> org.incendo.cloud.parser.ParserDescriptor<C,mindustry.net.Administration.PlayerInfo>
     
    @NonNull org.incendo.cloud.suggestion.SuggestionProvider<C>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.incendo.cloud.parser.ArgumentParser

    flatMap, flatMapSuccess, mapSuccess, parseFuture
  • Constructor Details

    • PlayerInfoParser

      public PlayerInfoParser()
  • Method Details

    • playerInfoParser

      public static <C> org.incendo.cloud.parser.ParserDescriptor<C,mindustry.net.Administration.PlayerInfo> playerInfoParser()
    • playerInfoComponent

      public static <C> org.incendo.cloud.component.CommandComponent.Builder<C,mindustry.net.Administration.PlayerInfo> playerInfoComponent()
    • parse

      public org.incendo.cloud.parser.ArgumentParseResult<mindustry.net.Administration.PlayerInfo> parse(org.incendo.cloud.context.CommandContext<C> ctx, org.incendo.cloud.context.CommandInput input)
      Specified by:
      parse in interface org.incendo.cloud.parser.ArgumentParser<C,mindustry.net.Administration.PlayerInfo>
    • suggestionProvider

      public @NonNull org.incendo.cloud.suggestion.SuggestionProvider<C> suggestionProvider()
      Specified by:
      suggestionProvider in interface org.incendo.cloud.parser.ArgumentParser<C,mindustry.net.Administration.PlayerInfo>
      Specified by:
      suggestionProvider in interface org.incendo.cloud.suggestion.SuggestionProviderHolder<C>