Class ProfileAudienceArgument.ProfileAudienceParser
java.lang.Object
org.geysermc.floodgate.core.player.audience.ProfileAudienceArgument.ProfileAudienceParser
- All Implemented Interfaces:
cloud.commandframework.arguments.parser.ArgumentParser<UserAudience,ProfileAudience>
- Enclosing class:
- ProfileAudienceArgument
public static final class ProfileAudienceArgument.ProfileAudienceParser
extends Object
implements cloud.commandframework.arguments.parser.ArgumentParser<UserAudience,ProfileAudience>
-
Field Summary
Fields inherited from interface cloud.commandframework.arguments.parser.ArgumentParser
DEFAULT_ARGUMENT_COUNT -
Constructor Summary
ConstructorsConstructorDescriptionProfileAudienceParser(boolean allowUuid, boolean allowOffline, PlayerType limitTo) -
Method Summary
Modifier and TypeMethodDescriptionboolean@NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<ProfileAudience>parse(@NonNull cloud.commandframework.context.CommandContext<@NonNull UserAudience> commandContext, @NonNull Queue<@NonNull String> inputQueue) suggestions(@NonNull cloud.commandframework.context.CommandContext<UserAudience> commandContext, @NonNull String input) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cloud.commandframework.arguments.parser.ArgumentParser
getRequestedArgumentCount, map
-
Constructor Details
-
ProfileAudienceParser
-
-
Method Details
-
parse
public @NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<ProfileAudience> parse(@NonNull cloud.commandframework.context.CommandContext<@NonNull UserAudience> commandContext, @NonNull Queue<@NonNull String> inputQueue) - Specified by:
parsein interfacecloud.commandframework.arguments.parser.ArgumentParser<UserAudience,ProfileAudience>
-
suggestions
public @NonNull List<String> suggestions(@NonNull cloud.commandframework.context.CommandContext<UserAudience> commandContext, @NonNull String input) - Specified by:
suggestionsin interfacecloud.commandframework.arguments.parser.ArgumentParser<UserAudience,ProfileAudience>
-
isContextFree
public boolean isContextFree()- Specified by:
isContextFreein interfacecloud.commandframework.arguments.parser.ArgumentParser<UserAudience,ProfileAudience>
-