Package net.sf.l2j.gameserver.handler

Examples of net.sf.l2j.gameserver.handler.IUserCommandHandler


  {
        L2PcInstance player = getClient().getActiveChar();
  if (player == null)
      return;

        IUserCommandHandler handler = UserCommandHandler.getInstance().getUserCommandHandler(_command);

        if (handler == null)
        {
            SystemMessage sm = new SystemMessage(SystemMessageId.S1_S2);
            sm.addString("user commandID "+_command+" not implemented yet");
            player.sendPacket(sm);
            sm = null;
        }
        else
        {
            handler.useUserCommand(_command, getClient().getActiveChar());
        }
  }
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.handler.IUserCommandHandler

Copyright © 2018 www.massapicom. 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.