Examples of useVoicedCommand()


Examples of com.l2jfrozen.gameserver.handler.IVoicedCommandHandler.useVoicedCommand()

          }
          if (vc.length() > 0)
          {
            final IVoicedCommandHandler vch = VoicedCommandHandler.getInstance().getVoicedCommandHandler(vc);
            if (vch != null)
              vch.useVoicedCommand(vc, activeChar, vparams);
          }
        }
      }
      else if(_command.startsWith("Quest "))
      {
View Full Code Here

Examples of com.l2jfrozen.gameserver.handler.IVoicedCommandHandler.useVoicedCommand()

            vch = VoicedCommandHandler.getInstance().getVoicedCommandHandler(command);
          }

          if(vch != null)
          {
            vch.useVoicedCommand(command, activeChar, target);
            break;
          }
        }
       
        for(L2PcInstance player : activeChar.getKnownList().getKnownPlayers().values())
View Full Code Here

Examples of l2p.gameserver.handler.IVoicedCommandHandler.useVoicedCommand()

      {
        // then check for VoicedCommands
        IVoicedCommandHandler vch = VoicedCommandHandler.getInstance().getVoicedCommandHandler(command);
        if(vch != null)
        {
          vch.useVoicedCommand(command, activeChar, args);
          return;
        }
      }
      activeChar.sendMessage("Wrong command");
      return;
View Full Code Here

Examples of l2p.gameserver.handler.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.warning("Unknow voiced command '" + word + "'");
        }
View Full Code Here

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

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

      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

Examples of net.sf.l2j.gameserver.handler.IVoicedCommandHandler.useVoicedCommand()

            command = _text.substring(1);
            if (Config.DEBUG) _log.info("Command: "+command);
            vch = VoicedCommandHandler.getInstance().getVoicedCommandHandler(command);
          }
          if (vch != null)
            vch.useVoicedCommand(command, activeChar, target);
          else
          {
            if (Config.DEBUG) _log.warning("No handler registered for bypass '"+command+"'");
          }
        }
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.