Package com.l2jfrozen.gameserver.network.serverpackets

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


  private void updateNickAndTitleColor(L2PcInstance killer, KillerPvpStats killerPvpStats)
  {
    if(RankPvpSystemConfig.NICK_COLOR_ENABLED && killer.getAppearance().getNameColor() != killerPvpStats.getRank().getNickColor() && !killer.isGM())
    {
      killer.getAppearance().setNameColor(killerPvpStats.getRank().getNickColor());
      killer.sendPacket(new UserInfo(killer));
      killer.broadcastUserInfo();
    }
   
    if(RankPvpSystemConfig.TITLE_COLOR_ENABLED && killer.getAppearance().getTitleColor() != killerPvpStats.getRank().getTitleColor() && !killer.isGM())
    {
View Full Code Here


      L2ClanMember leaderSubPledge = clan.getClanMember(leaderName);
      if(leaderSubPledge.getPlayerInstance() == null)
        return;

      leaderSubPledge.getPlayerInstance().setPledgeClass(leaderSubPledge.calculatePledgeClass(leaderSubPledge.getPlayerInstance()));
      leaderSubPledge.getPlayerInstance().sendPacket(new UserInfo(leaderSubPledge.getPlayerInstance()));
    }
    clan = null;
    sm = null;
  }
View Full Code Here

    L2ClanMember leaderSubPledge = clan.getClanMember(leaderName);
   
    if(leaderSubPledge.getPlayerInstance()!=null){
   
      leaderSubPledge.getPlayerInstance().setPledgeClass(leaderSubPledge.calculatePledgeClass(leaderSubPledge.getPlayerInstance()));
      leaderSubPledge.getPlayerInstance().sendPacket(new UserInfo(leaderSubPledge.getPlayerInstance()));
      clan.broadcastClanStatus();
      SystemMessage sm = new SystemMessage(SystemMessageId.S1_HAS_BEEN_SELECTED_AS_CAPTAIN_OF_S2);
      sm.addString(leaderName);
      sm.addString(clanName);
      clan.broadcastToOnlineMembers(sm);
View Full Code Here

  {
    if(getPvpFlag() == value)
      return;
    setPvpFlag(value);

    sendPacket(new UserInfo(this));

    // If this player has a pet update the pets pvp flag as well
    if(getPet() != null)
    {
      sendPacket(new RelationChanged(getPet(), getRelation(this), false));
View Full Code Here

          Broadcast.toKnownPlayers(this, new CharInfo(this));
        }
      }
    }
   
    sendPacket(new UserInfo(this));
  }
View Full Code Here

   * <BR>
   */
  public final void broadcastUserInfo()
  {
    // Send a Server->Client packet UserInfo to this L2PcInstance
    sendPacket(new UserInfo(this));

    // Send a Server->Client packet CharInfo to all L2PcInstance in _KnownPlayers of the L2PcInstance
    if(Config.DEBUG)
    {
      _log.fine("players to notify:" + getKnownList().getKnownPlayers().size() + " packet: [S] 03 CharInfo");
View Full Code Here

   * Broadcast title info.
   */
  public final void broadcastTitleInfo()
  {
    // Send a Server->Client packet UserInfo to this L2PcInstance
    sendPacket(new UserInfo(this));

    // Send a Server->Client packet TitleUpdate to all L2PcInstance in _KnownPlayers of the L2PcInstance
    if(Config.DEBUG)
    {
      _log.fine("players to notify:" + getKnownList().getKnownPlayers().size() + " packet: [S] cc TitleUpdate");
View Full Code Here

    broadcastUserInfo();

    QuakeSystem();

    // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
    sendPacket(new UserInfo(this));
  }
View Full Code Here

    //Update the character's title color if they reached any of the 5 PK levels.
    updatePkColor(getPkKills());
    broadcastUserInfo();

    // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
    sendPacket(new UserInfo(this));
  }
View Full Code Here

    refreshOverloaded();
    refreshExpertisePenalty();
    // Send a Server->Client packet UserInfo to this L2PcInstance and CharInfo to all L2PcInstance in its _KnownPlayers (broadcast)
    if(broadcastType == 1)
    {
      this.sendPacket(new UserInfo(this));
    }

    if(broadcastType == 2)
    {
      broadcastUserInfo();
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.network.serverpackets.UserInfo

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.