Examples of checkClanJoinCondition()


Examples of com.l2jfrozen.gameserver.model.L2Clan.checkClanJoinCondition()

        return; // hax
       
      RequestJoinPledge requestPacket = (RequestJoinPledge) requestor.getRequest().getRequestPacket();
      L2Clan clan = requestor.getClan();
      // we must double check this cause during response time conditions can be changed, i.e. another player could join clan
      if (clan != null && clan.checkClanJoinCondition(requestor, activeChar, requestPacket.getPledgeType()))
      {
        JoinPledge jp = new JoinPledge(requestor.getClanId());
        activeChar.sendPacket(jp);
       
        activeChar.setPledgeType(requestPacket.getPledgeType());
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.L2Clan.checkClanJoinCondition()

    }

    L2PcInstance target = (L2PcInstance) L2World.getInstance().findObject(_target);
    L2Clan clan = activeChar.getClan();

    if(!clan.checkClanJoinCondition(activeChar, target, _pledgeType))
      return;

    if(!activeChar.getRequest().setRequest(target, this))
      return;
View Full Code Here

Examples of net.sf.l2j.gameserver.model.L2Clan.checkClanJoinCondition()

        return;
    }

    L2PcInstance target = (L2PcInstance) L2World.getInstance().findObject(_target);
        L2Clan clan = activeChar.getClan();
        if (!clan.checkClanJoinCondition(activeChar, target, _pledgeType))
        {
          return;
        }
        if (!activeChar.getRequest().setRequest(target, this))
        {
View Full Code Here

Examples of net.sf.l2j.gameserver.model.L2Clan.checkClanJoinCondition()

          }

      RequestJoinPledge requestPacket = (RequestJoinPledge) requestor.getRequest().getRequestPacket();
          L2Clan clan = requestor.getClan();
      // we must double check this cause during response time conditions can be changed, i.e. another player could join clan
      if (clan.checkClanJoinCondition(requestor, activeChar, requestPacket.getPledgeType()))
          {
        JoinPledge jp = new JoinPledge(requestor.getClanId());
        activeChar.sendPacket(jp);

        activeChar.setPledgeType(requestPacket.getPledgeType());
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.