Class ServerPlayerArgument
java.lang.Object
dev.rollczi.litecommands.argument.resolver.ArgumentResolver<org.spongepowered.api.command.CommandCause,org.spongepowered.api.entity.living.player.server.ServerPlayer>
dev.rollczi.litecommands.sponge.argument.ServerPlayerArgument
- All Implemented Interfaces:
dev.rollczi.litecommands.argument.matcher.Matcher<org.spongepowered.api.command.CommandCause,,org.spongepowered.api.entity.living.player.server.ServerPlayer> dev.rollczi.litecommands.argument.parser.Parser<org.spongepowered.api.command.CommandCause,,org.spongepowered.api.entity.living.player.server.ServerPlayer> dev.rollczi.litecommands.argument.resolver.ArgumentResolverBase<org.spongepowered.api.command.CommandCause,,org.spongepowered.api.entity.living.player.server.ServerPlayer> dev.rollczi.litecommands.argument.resolver.MultipleArgumentResolver<org.spongepowered.api.command.CommandCause,,org.spongepowered.api.entity.living.player.server.ServerPlayer> dev.rollczi.litecommands.argument.suggester.Suggester<org.spongepowered.api.command.CommandCause,,org.spongepowered.api.entity.living.player.server.ServerPlayer> dev.rollczi.litecommands.range.Rangeable<dev.rollczi.litecommands.argument.Argument<org.spongepowered.api.entity.living.player.server.ServerPlayer>>
public class ServerPlayerArgument
extends dev.rollczi.litecommands.argument.resolver.ArgumentResolver<org.spongepowered.api.command.CommandCause,org.spongepowered.api.entity.living.player.server.ServerPlayer>
-
Constructor Summary
ConstructorsConstructorDescriptionServerPlayerArgument(org.spongepowered.api.Game game, dev.rollczi.litecommands.message.MessageRegistry<org.spongepowered.api.command.CommandCause> messageRegistry) -
Method Summary
Modifier and TypeMethodDescriptionprotected dev.rollczi.litecommands.argument.parser.ParseResult<org.spongepowered.api.entity.living.player.server.ServerPlayer> parse(dev.rollczi.litecommands.invocation.Invocation<org.spongepowered.api.command.CommandCause> invocation, dev.rollczi.litecommands.argument.Argument<org.spongepowered.api.entity.living.player.server.ServerPlayer> context, String argument) dev.rollczi.litecommands.suggestion.SuggestionResultsuggest(dev.rollczi.litecommands.invocation.Invocation<org.spongepowered.api.command.CommandCause> invocation, dev.rollczi.litecommands.argument.Argument<org.spongepowered.api.entity.living.player.server.ServerPlayer> 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
-
ServerPlayerArgument
public ServerPlayerArgument(org.spongepowered.api.Game game, dev.rollczi.litecommands.message.MessageRegistry<org.spongepowered.api.command.CommandCause> messageRegistry)
-
-
Method Details
-
parse
protected dev.rollczi.litecommands.argument.parser.ParseResult<org.spongepowered.api.entity.living.player.server.ServerPlayer> parse(dev.rollczi.litecommands.invocation.Invocation<org.spongepowered.api.command.CommandCause> invocation, dev.rollczi.litecommands.argument.Argument<org.spongepowered.api.entity.living.player.server.ServerPlayer> context, String argument) - Specified by:
parsein classdev.rollczi.litecommands.argument.resolver.ArgumentResolver<org.spongepowered.api.command.CommandCause,org.spongepowered.api.entity.living.player.server.ServerPlayer>
-
suggest
public dev.rollczi.litecommands.suggestion.SuggestionResult suggest(dev.rollczi.litecommands.invocation.Invocation<org.spongepowered.api.command.CommandCause> invocation, dev.rollczi.litecommands.argument.Argument<org.spongepowered.api.entity.living.player.server.ServerPlayer> argument, dev.rollczi.litecommands.suggestion.SuggestionContext context)
-