Package l2p.gameserver.serverpackets

Examples of l2p.gameserver.serverpackets.PledgeShowMemberListAll


      packets.clear();
    }
    if(activeChar.getClan() != null)
    {
      notifyClanMembers(activeChar);
      sendPacket(new PledgeShowMemberListAll(activeChar.getClan(), activeChar), new PledgeShowInfoUpdate(activeChar.getClan()), new PledgeSkillList(activeChar.getClan()));
      if(activeChar.getClan().isAttacker())
      {
        activeChar.setSiegeState(1);
      }
      else if(activeChar.getClan().isDefender())
View Full Code Here


    {
      if(member.isOnline())
      {
        if(updateList)
        {
          member.getPlayer().sendPacket(Msg.PledgeShowMemberListDeleteAll, new PledgeShowMemberListAll(this, member.getPlayer()));
        }
        member.getPlayer().sendPacket(new PledgeShowInfoUpdate(this));
        if(needUserInfo)
        {
          member.getPlayer().broadcastUserInfo(true);
View Full Code Here

        }
        clan.getClanMember(activeChar.getName()).setPowerGrade(clan.getAffiliationRank(activeChar.getPledgeType()));
        clan.broadcastToOtherOnlineMembers(new PledgeShowMemberListAdd(clan.getClanMember(activeChar.getName())), activeChar);
        clan.broadcastToOnlineMembers(new SystemMessage(SystemMessage.S1_HAS_JOINED_THE_CLAN).addString(activeChar.getName()), new PledgeShowInfoUpdate(clan));
        // this activates the clan tab on the new member
        activeChar.sendPacket(Msg.ENTERED_THE_CLAN, new PledgeShowMemberListAll(clan, activeChar));
        activeChar.setLeaveClanTime(0);
        activeChar.updatePledgeClass();
        clan.addAndShowSkillsToPlayer(activeChar);
        activeChar.broadcastUserInfo(true);
        activeChar.broadcastRelationChanged();
View Full Code Here

      return;
    }
    L2Clan clan = activeChar.getClan();
    if(clan != null)
    {
      activeChar.sendPacket(new PledgeShowMemberListAll(clan, activeChar));
    }
  }
View Full Code Here

      // clan name is already taken
      player.sendPacket(Msg.THIS_NAME_ALREADY_EXISTS);
      return;
    }
    // should be update packet only
    player.sendPacket(new PledgeShowInfoUpdate(clan), new PledgeShowMemberListAll(clan, player), Msg.CLAN_HAS_BEEN_CREATED);
    player.updatePledgeClass();
    player.broadcastUserInfo(true);
  }
View Full Code Here

TOP

Related Classes of l2p.gameserver.serverpackets.PledgeShowMemberListAll

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.