Class PlayerArgument.PlayerParser<C>
- java.lang.Object
-
- cloud.commandframework.velocity.arguments.PlayerArgument.PlayerParser<C>
-
- All Implemented Interfaces:
cloud.commandframework.arguments.parser.ArgumentParser<C,com.velocitypowered.api.proxy.Player>
- Enclosing class:
- PlayerArgument<C>
public static final class PlayerArgument.PlayerParser<C> extends java.lang.Object implements cloud.commandframework.arguments.parser.ArgumentParser<C,com.velocitypowered.api.proxy.Player>
-
-
Constructor Summary
Constructors Constructor Description PlayerParser()
-
Method Summary
Modifier and Type Method Description booleanisContextFree()@NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<@NonNull com.velocitypowered.api.proxy.Player>parse(@NonNull cloud.commandframework.context.CommandContext<@NonNull C> commandContext, @NonNull java.util.Queue<@NonNull java.lang.String> inputQueue)@NonNull java.util.List<@NonNull java.lang.String>suggestions(@NonNull cloud.commandframework.context.CommandContext<C> commandContext, @NonNull java.lang.String input)
-
-
-
Method Detail
-
parse
public @NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<@NonNull com.velocitypowered.api.proxy.Player> parse(@NonNull cloud.commandframework.context.CommandContext<@NonNull C> commandContext, @NonNull java.util.Queue<@NonNull java.lang.String> inputQueue)
- Specified by:
parsein interfacecloud.commandframework.arguments.parser.ArgumentParser<C,com.velocitypowered.api.proxy.Player>
-
suggestions
public @NonNull java.util.List<@NonNull java.lang.String> suggestions(@NonNull cloud.commandframework.context.CommandContext<C> commandContext, @NonNull java.lang.String input)
- Specified by:
suggestionsin interfacecloud.commandframework.arguments.parser.ArgumentParser<C,com.velocitypowered.api.proxy.Player>
-
isContextFree
public boolean isContextFree()
- Specified by:
isContextFreein interfacecloud.commandframework.arguments.parser.ArgumentParser<C,com.velocitypowered.api.proxy.Player>
-
-