Package l2p.gameserver.model.L2Clan

Examples of l2p.gameserver.model.L2Clan.RankPrivs


    _apprentice = apprentice;
    _clanLeader = clanLeader;
    playerStoreId = L2ObjectsStorage.objIdNoStore(objectId);
    if(powerGrade != 0)
    {
      RankPrivs r = clan.getRankPrivs(powerGrade);
      r.setParty(clan.countMembersByRank(powerGrade));
    }
  }
View Full Code Here


  private void updatePowerGradeParty(int oldGrade, int newGrade)
  {
    if(oldGrade != 0)
    {
      RankPrivs r1 = getClan().getRankPrivs(oldGrade);
      r1.setParty(getClan().countMembersByRank(oldGrade));
    }
    if(newGrade != 0)
    {
      RankPrivs r2 = getClan().getRankPrivs(newGrade);
      r2.setParty(getClan().countMembersByRank(newGrade));
    }
  }
View Full Code Here

    {
      privs = L2Clan.CP_ALL;
    }
    else
    {
      RankPrivs temp = member.getClan().getRankPrivs(member.getPowerGrade());
      if(temp != null)
      {
        privs = temp.getPrivs();
      }
      else
      {
        privs = 0;
      }
View Full Code Here

  public ManagePledgePower(L2Player player, int action, int rank)
  {
    _clanId = player.getClanId();
    _action = action;
    RankPrivs temp = player.getClan().getRankPrivs(rank);
    privs = temp == null ? 0 : temp.getPrivs();
    player.sendPacket(new PledgeReceiveUpdatePower(privs));
  }
View Full Code Here

    }
    if(_powerGrade < 1 || _powerGrade > 9)
    {
      return 0;
    }
    RankPrivs privs = _clan.getRankPrivs(_powerGrade);
    if(privs != null)
    {
      return privs.getPrivs();
    }
    return 0;
  }
View Full Code Here

TOP

Related Classes of l2p.gameserver.model.L2Clan.RankPrivs

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.