Package com.l2jfrozen.gameserver.network.serverpackets

Examples of com.l2jfrozen.gameserver.network.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 != null && 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 com.l2jfrozen.gameserver.network.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.