Examples of PledgeStatusChanged


Examples of com.l2jfrozen.gameserver.network.serverpackets.PledgeStatusChanged

    //sendPacket(ui);

    if (activeChar.getClanId() != 0 && activeChar.getClan() != null)
    {
      sendPacket(new PledgeShowMemberListAll(activeChar.getClan(), activeChar));
      sendPacket(new PledgeStatusChanged(activeChar.getClan()));
    }

    if (activeChar.isAlikeDead())
      sendPacket(new Die(activeChar)); // No broadcast needed since the player will already spawn dead to others
View Full Code Here

Examples of l2p.gameserver.serverpackets.PledgeStatusChanged

        if(level == 5)
        {
          player.sendPacket(Msg.NOW_THAT_YOUR_CLAN_LEVEL_IS_ABOVE_LEVEL_5_IT_CAN_ACCUMULATE_CLAN_REPUTATION_POINTS);
        }
        PledgeShowInfoUpdate pu = new PledgeShowInfoUpdate(clan);
        PledgeStatusChanged ps = new PledgeStatusChanged(clan);
        for(L2Player member : clan.getOnlineMembers(0))
        {
          member.updatePledgeClass();
          member.sendPacket(Msg.CLANS_SKILL_LEVEL_HAS_INCREASED, pu, ps);
          member.broadcastUserInfo(true);
View Full Code Here

Examples of l2p.gameserver.serverpackets.PledgeStatusChanged

          if(level == 5)
          {
            target.sendPacket(Msg.NOW_THAT_YOUR_CLAN_LEVEL_IS_ABOVE_LEVEL_5_IT_CAN_ACCUMULATE_CLAN_REPUTATION_POINTS);
          }
          PledgeShowInfoUpdate pu = new PledgeShowInfoUpdate(clan);
          PledgeStatusChanged ps = new PledgeStatusChanged(clan);
          for(L2Player member : clan.getOnlineMembers(0))
          {
            member.updatePledgeClass();
            member.sendPacket(Msg.CLANS_SKILL_LEVEL_HAS_INCREASED, pu, ps);
            member.broadcastUserInfo(true);
View Full Code Here

Examples of l2p.gameserver.serverpackets.PledgeStatusChanged

      {
        player.sendPacket(Msg.NOW_THAT_YOUR_CLAN_LEVEL_IS_ABOVE_LEVEL_5_IT_CAN_ACCUMULATE_CLAN_REPUTATION_POINTS);
      }
      // notify all the members about it
      PledgeShowInfoUpdate pu = new PledgeShowInfoUpdate(clan);
      PledgeStatusChanged ps = new PledgeStatusChanged(clan);
      for(L2ClanMember mbr : clan.getMembers())
      {
        if(mbr.isOnline())
        {
          mbr.getPlayer().updatePledgeClass();
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.PledgeStatusChanged

      if (clan.getLevel() == 5)
      {
        player.sendPacket(Msg.NOW_THAT_YOUR_CLAN_LEVEL_IS_ABOVE_LEVEL_5_IT_CAN_ACCUMULATE_CLAN_REPUTATION_POINTS);
      }
      PledgeShowInfoUpdate pu = new PledgeShowInfoUpdate(clan);
      PledgeStatusChanged ps = new PledgeStatusChanged(clan);
      for (UnitMember mbr : clan)
      {
        if (mbr.isOnline())
        {
          mbr.getPlayer().updatePledgeClass();
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.PledgeStatusChanged

          if (level == 5)
          {
            target.sendPacket(Msg.NOW_THAT_YOUR_CLAN_LEVEL_IS_ABOVE_LEVEL_5_IT_CAN_ACCUMULATE_CLAN_REPUTATION_POINTS);
          }
          PledgeShowInfoUpdate pu = new PledgeShowInfoUpdate(clan);
          PledgeStatusChanged ps = new PledgeStatusChanged(clan);
          for (Player member : clan.getOnlineMembers(0))
          {
            member.updatePledgeClass();
            member.sendPacket(Msg.CLANS_SKILL_LEVEL_HAS_INCREASED, pu, ps);
            member.broadcastUserInfo();
View Full Code Here

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

        //sendPacket(ui);

        if (activeChar.getClanId() != 0 && activeChar.getClan() != null)
        {
          sendPacket(new PledgeShowMemberListAll(activeChar.getClan(), activeChar));
          sendPacket(new PledgeStatusChanged(activeChar.getClan()));
        }

    if (activeChar.isAlikeDead())
    {
      // no broadcast needed since the player will already spawn dead to others
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.