Class PlayerCommand.OpenNPCCommand

java.lang.Object
client.messages.CommandExecute
client.messages.commands.PlayerCommand.OpenNPCCommand
Direct Known Subclasses:
PlayerCommand.Npc, PlayerCommand.公告, PlayerCommand.技能滿, PlayerCommand.活動, PlayerCommand.掉寶, PlayerCommand.幫助, PlayerCommand.轉生, PlayerCommand.轉職
Enclosing class:
PlayerCommand

public abstract static class PlayerCommand.OpenNPCCommand extends CommandExecute
  • Field Details

    • npc

      protected int npc
  • Constructor Details

    • OpenNPCCommand

      public OpenNPCCommand()
  • Method Details

    • execute

      public boolean execute(MapleClient c, String[] splitted)
      Description copied from class: CommandExecute
      The method executed when this command is used.
      Specified by:
      execute in class CommandExecute
      Parameters:
      c - the client executing this command
      splitted - the command and any arguments attached
      Returns:
      true if you want to log the command, false if not. TODO: USE CommandExecute.ReturnValue