Package lineage2.gameserver.handler.voicecommands

Examples of lineage2.gameserver.handler.voicecommands.IVoicedCommandHandler.useVoicedCommand()


        String word = command.split("\\s+")[0];
        String args = command.substring(word.length()).trim();
        IVoicedCommandHandler vch = VoicedCommandHandler.getInstance().getVoicedCommandHandler(word);
        if (vch != null)
        {
          vch.useVoicedCommand(word, activeChar, args);
        }
        else
        {
          _log.warn("Unknow voiced command '" + word + "'");
        }
View Full Code Here


      if (command.length() > 0)
      {
        IVoicedCommandHandler vch = VoicedCommandHandler.getInstance().getVoicedCommandHandler(command);
        if (vch != null)
        {
          vch.useVoicedCommand(command, activeChar, args);
          return;
        }
      }
      activeChar.sendMessage(new CustomMessage("common.command404", activeChar));
      return;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.