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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.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, waitMethods 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:
parsein interfaceorg.incendo.cloud.parser.ArgumentParser<C,mindustry.net.Administration.PlayerInfo>
-
suggestionProvider
-