Package net.sf.l2j.gameserver.serverpackets

Examples of net.sf.l2j.gameserver.serverpackets.JoinPledge


      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());
        if(requestPacket.getPledgeType() == L2Clan.SUBUNIT_ACADEMY)
        {
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.serverpackets.JoinPledge

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.