Examples of callScripts()


Examples of l2p.gameserver.model.L2Player.callScripts()

    if(first)
    {
      Object[] script_args = new Object[]{activeChar.getObjectId()};
      for(ScriptClassAndMethod handler : ScriptManager.onPlayerEnter)
      {
        activeChar.callScripts(handler.scriptClass, handler.method, script_args);
      }
    }
    SevenSigns.getInstance().sendCurrentPeriodMsg(activeChar);
    //Проверка на ПА, если есть говорим дату окончания
    long endtime = activeChar.getNetConnection().getBonusExpire();
View Full Code Here

Examples of l2p.gameserver.model.L2Player.callScripts()

    {
      activeChar.sendUserInfo(false);
    } // Отобразит права в клане
    if(getClient().getBonus() < 0)
    {
      activeChar.callScripts("services.Activation", "activation_page");
    }
    if(Config.ProtectEnchantEnable)
    {
      for(L2ItemInstance item : activeChar.getInventory().getItems())
      {
View Full Code Here

Examples of l2p.gameserver.model.L2Player.callScripts()

        {
          variables.put("npc", null);
        }
        if(word.length == 1)
        {
          activeChar.callScripts(path[0], path[1], new Object[]
            {
            }, variables);
        }
        else
        {
View Full Code Here

Examples of l2p.gameserver.model.L2Player.callScripts()

            {
            }, variables);
        }
        else
        {
          activeChar.callScripts(path[0], path[1], new Object[]
            {
              args
            }, variables);
        }
      }
View Full Code Here

Examples of l2p.gameserver.model.L2Player.callScripts()

        return false;
      }
      Object[] script_args = new Object[] {player, ctrl};
      for(ScriptClassAndMethod handler : handlers)
      {
        player.callScripts(handler.scriptClass, handler.method, script_args);
      }
      return true;
    }
    L2Skill[] skills = item.getItem().getAttachedSkills();
    if(skills != null && skills.length > 0)
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.