Class PlayerArgument

java.lang.Object
dev.rollczi.litecommands.argument.resolver.ArgumentResolver<CommandSender,Player>
cn.ycraft.limbo.command.argument.PlayerArgument
All Implemented Interfaces:
dev.rollczi.litecommands.argument.matcher.Matcher<CommandSender,Player>, dev.rollczi.litecommands.argument.parser.Parser<CommandSender,Player>, dev.rollczi.litecommands.argument.resolver.ArgumentResolverBase<CommandSender,Player>, dev.rollczi.litecommands.argument.resolver.MultipleArgumentResolver<CommandSender,Player>, dev.rollczi.litecommands.argument.suggester.Suggester<CommandSender,Player>, dev.rollczi.litecommands.range.Rangeable<dev.rollczi.litecommands.argument.Argument<Player>>

public class PlayerArgument extends dev.rollczi.litecommands.argument.resolver.ArgumentResolver<CommandSender,Player>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected dev.rollczi.litecommands.argument.parser.ParseResult<Player>
    parse(dev.rollczi.litecommands.invocation.Invocation<CommandSender> invocation, dev.rollczi.litecommands.argument.Argument<Player> context, String argument)
     
    dev.rollczi.litecommands.suggestion.SuggestionResult
    suggest(dev.rollczi.litecommands.invocation.Invocation<CommandSender> invocation, dev.rollczi.litecommands.argument.Argument<Player> argument, dev.rollczi.litecommands.suggestion.SuggestionContext context)
     

    Methods inherited from class dev.rollczi.litecommands.argument.resolver.ArgumentResolver

    getRange, match, match, parse

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface dev.rollczi.litecommands.argument.parser.Parser

    canParse
  • Constructor Details

    • PlayerArgument

      public PlayerArgument()
  • Method Details

    • parse

      protected dev.rollczi.litecommands.argument.parser.ParseResult<Player> parse(dev.rollczi.litecommands.invocation.Invocation<CommandSender> invocation, dev.rollczi.litecommands.argument.Argument<Player> context, String argument)
      Specified by:
      parse in class dev.rollczi.litecommands.argument.resolver.ArgumentResolver<CommandSender,Player>
    • suggest

      public dev.rollczi.litecommands.suggestion.SuggestionResult suggest(dev.rollczi.litecommands.invocation.Invocation<CommandSender> invocation, dev.rollczi.litecommands.argument.Argument<Player> argument, dev.rollczi.litecommands.suggestion.SuggestionContext context)