Class PlayerArgument
java.lang.Object
dev.rollczi.litecommands.argument.resolver.ArgumentResolver<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>
dev.rollczi.litecommands.velocity.argument.PlayerArgument
- All Implemented Interfaces:
dev.rollczi.litecommands.argument.matcher.Matcher<com.velocitypowered.api.command.CommandSource,,com.velocitypowered.api.proxy.Player> dev.rollczi.litecommands.argument.parser.Parser<com.velocitypowered.api.command.CommandSource,,com.velocitypowered.api.proxy.Player> dev.rollczi.litecommands.argument.resolver.ArgumentResolverBase<com.velocitypowered.api.command.CommandSource,,com.velocitypowered.api.proxy.Player> dev.rollczi.litecommands.argument.resolver.MultipleArgumentResolver<com.velocitypowered.api.command.CommandSource,,com.velocitypowered.api.proxy.Player> dev.rollczi.litecommands.argument.suggester.Suggester<com.velocitypowered.api.command.CommandSource,,com.velocitypowered.api.proxy.Player> dev.rollczi.litecommands.range.Rangeable<dev.rollczi.litecommands.argument.Argument<com.velocitypowered.api.proxy.Player>>
public class PlayerArgument
extends dev.rollczi.litecommands.argument.resolver.ArgumentResolver<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>
-
Constructor Summary
ConstructorsConstructorDescriptionPlayerArgument(dev.rollczi.litecommands.message.MessageRegistry<com.velocitypowered.api.command.CommandSource> messageRegistry, com.velocitypowered.api.proxy.ProxyServer server) -
Method Summary
Modifier and TypeMethodDescriptionprotected dev.rollczi.litecommands.argument.parser.ParseResult<com.velocitypowered.api.proxy.Player> parse(dev.rollczi.litecommands.invocation.Invocation<com.velocitypowered.api.command.CommandSource> invocation, dev.rollczi.litecommands.argument.Argument<com.velocitypowered.api.proxy.Player> context, String argument) dev.rollczi.litecommands.suggestion.SuggestionResultsuggest(dev.rollczi.litecommands.invocation.Invocation<com.velocitypowered.api.command.CommandSource> invocation, dev.rollczi.litecommands.argument.Argument<com.velocitypowered.api.proxy.Player> argument, dev.rollczi.litecommands.suggestion.SuggestionContext context) Methods inherited from class dev.rollczi.litecommands.argument.resolver.ArgumentResolver
getRange, match, match, parseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.rollczi.litecommands.argument.parser.Parser
canParse
-
Constructor Details
-
PlayerArgument
public PlayerArgument(dev.rollczi.litecommands.message.MessageRegistry<com.velocitypowered.api.command.CommandSource> messageRegistry, com.velocitypowered.api.proxy.ProxyServer server)
-
-
Method Details
-
parse
protected dev.rollczi.litecommands.argument.parser.ParseResult<com.velocitypowered.api.proxy.Player> parse(dev.rollczi.litecommands.invocation.Invocation<com.velocitypowered.api.command.CommandSource> invocation, dev.rollczi.litecommands.argument.Argument<com.velocitypowered.api.proxy.Player> context, String argument) - Specified by:
parsein classdev.rollczi.litecommands.argument.resolver.ArgumentResolver<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>
-
suggest
public dev.rollczi.litecommands.suggestion.SuggestionResult suggest(dev.rollczi.litecommands.invocation.Invocation<com.velocitypowered.api.command.CommandSource> invocation, dev.rollczi.litecommands.argument.Argument<com.velocitypowered.api.proxy.Player> argument, dev.rollczi.litecommands.suggestion.SuggestionContext context)
-