Examples of broadcastToOtherOnlineMembers()


Examples of com.l2jfrozen.gameserver.model.L2Clan.broadcastToOtherOnlineMembers()

       
        SystemMessage sm = new SystemMessage(SystemMessageId.S1_HAS_JOINED_CLAN);
        sm.addString(activeChar.getName());
        clan.broadcastToOnlineMembers(sm);
       
        clan.broadcastToOtherOnlineMembers(new PledgeShowMemberListAdd(activeChar), activeChar);
        clan.broadcastToOnlineMembers(new PledgeShowInfoUpdate(clan));
       
        // this activates the clan tab on the new member
        activeChar.sendPacket(new PledgeShowMemberListAll(clan, activeChar));
        activeChar.setClanJoinExpiryTime(0);
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.L2Clan.broadcastToOtherOnlineMembers()

  {
    L2Clan clan = activeChar.getClan();
    if (clan != null)
    {
      clan.getClanMember(activeChar.getObjectId()).setPlayerInstance(activeChar);
      clan.broadcastToOtherOnlineMembers(new SystemMessage(SystemMessageId.CLAN_MEMBER_S1_LOGGED_IN).addString(activeChar.getName()), activeChar);
      clan.broadcastToOtherOnlineMembers(new PledgeShowMemberListUpdate(activeChar), activeChar);
    }
  }

  /**
 
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.L2Clan.broadcastToOtherOnlineMembers()

    L2Clan clan = activeChar.getClan();
    if (clan != null)
    {
      clan.getClanMember(activeChar.getObjectId()).setPlayerInstance(activeChar);
      clan.broadcastToOtherOnlineMembers(new SystemMessage(SystemMessageId.CLAN_MEMBER_S1_LOGGED_IN).addString(activeChar.getName()), activeChar);
      clan.broadcastToOtherOnlineMembers(new PledgeShowMemberListUpdate(activeChar), activeChar);
    }
  }

  /**
   * @param activeChar
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.L2Clan.broadcastToOtherOnlineMembers()

    {
      L2Clan clan = ((L2PcInstance) getEffected()).getClan();
      if (clan != null)
      {
        SystemMessage msg = new SystemMessage(SystemMessageId.COURT_MAGICIAN_CREATED_PORTAL);
        clan.broadcastToOtherOnlineMembers(msg, ((L2PcInstance) getEffected()));
      }
    }
   
  }
 
View Full Code Here

Examples of l2p.gameserver.model.L2Clan.broadcastToOtherOnlineMembers()

        if(clan.isAcademy(activeChar.getPledgeType()))
        {
          activeChar.setLvlJoinedAcademy(activeChar.getLevel());
        }
        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();
View Full Code Here

Examples of lineage2.gameserver.model.pledge.Clan.broadcastToOtherOnlineMembers()

    {
      return;
    }
    Player player = (Player) activeChar;
    Clan clan = player.getClan();
    clan.broadcastToOtherOnlineMembers(Msg.COURT_MAGICIAN__THE_PORTAL_HAS_BEEN_CREATED, player);
    getEffects(activeChar, activeChar, getActivateRate() > 0, true);
  }
}
View Full Code Here

Examples of lineage2.gameserver.model.pledge.Clan.broadcastToOtherOnlineMembers()

      if (pledgeType == Clan.SUBUNIT_ACADEMY)
      {
        player.setLvlJoinedAcademy(player.getLevel());
      }
      member.setPowerGrade(clan.getAffiliationRank(player.getPledgeType()));
      clan.broadcastToOtherOnlineMembers(new PledgeShowMemberListAdd(member), player);
      clan.broadcastToOnlineMembers(new SystemMessage2(SystemMsg.S1_HAS_JOINED_THE_CLAN).addString(player.getName()), new PledgeShowInfoUpdate(clan));
      player.sendPacket(SystemMsg.ENTERED_THE_CLAN);
      player.sendPacket(player.getClan().listAll());
      player.setLeaveClanTime(0);
      player.updatePledgeClass();
View Full Code Here

Examples of net.sf.l2j.gameserver.model.L2Clan.broadcastToOtherOnlineMembers()

    if (clan != null)
    {
      clan.getClanMember(activeChar.getName()).setPlayerInstance(activeChar);
      SystemMessage msg = new SystemMessage(SystemMessageId.CLAN_MEMBER_S1_LOGGED_IN);
      msg.addString(activeChar.getName());
      clan.broadcastToOtherOnlineMembers(msg, activeChar);
      msg = null;
      clan.broadcastToOtherOnlineMembers(new PledgeShowMemberListUpdate(activeChar), activeChar);
    }
  }
View Full Code Here

Examples of net.sf.l2j.gameserver.model.L2Clan.broadcastToOtherOnlineMembers()

      clan.getClanMember(activeChar.getName()).setPlayerInstance(activeChar);
      SystemMessage msg = new SystemMessage(SystemMessageId.CLAN_MEMBER_S1_LOGGED_IN);
      msg.addString(activeChar.getName());
      clan.broadcastToOtherOnlineMembers(msg, activeChar);
      msg = null;
      clan.broadcastToOtherOnlineMembers(new PledgeShowMemberListUpdate(activeChar), activeChar);
    }
  }

  /**
   * @param activeChar
View Full Code Here

Examples of net.sf.l2j.gameserver.model.L2Clan.broadcastToOtherOnlineMembers()

        SystemMessage sm = new SystemMessage(SystemMessageId.S1_HAS_JOINED_CLAN);
        sm.addString(activeChar.getName());
        clan.broadcastToOnlineMembers(sm);
        sm = null;

        clan.broadcastToOtherOnlineMembers(new PledgeShowMemberListAdd(activeChar), activeChar);
        clan.broadcastToOnlineMembers(new PledgeShowInfoUpdate(clan));

        // this activates the clan tab on the new member
        activeChar.sendPacket(new PledgeShowMemberListAll(clan, activeChar));
        activeChar.setClanJoinExpiryTime(0);
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.