Package com.l2jfrozen.gameserver.network.serverpackets

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


          msg = null;
         
          // friend list rework ;)
          notifyFriends(player);
          notifyFriends(requestor);
          player.sendPacket(new FriendList(player));
          requestor.sendPacket(new FriendList(requestor));
        }
        catch (Exception e)
        {
          if (Config.ENABLE_ALL_EXCEPTIONS)
            e.printStackTrace();
View Full Code Here


        friendName = rset.getString("friend_name");
        friend = L2World.getInstance().getPlayer(friendName);
       
        if (friend != null) // friend loggined.
        {
          friend.sendPacket(new FriendList(friend));
        }
      }
     
      rset.close();
      statement.close();
View Full Code Here

   
    // Send packets info
    sendPacket(new ClientSetTime()); // SetClientTime
    sendPacket(new UserInfo(activeChar)); //
    sendPacket(new HennaInfo(activeChar));
    sendPacket(new FriendList(activeChar));
    sendPacket(new ItemList(activeChar, false));
    sendPacket(new ShortCutInit(activeChar));

    // Send all skills to char
    activeChar.sendSkillList();
View Full Code Here

    activeChar.updateNameTitleColor();

    sendPacket(new UserInfo(activeChar));
    sendPacket(new HennaInfo(activeChar));
    sendPacket(new FriendList(activeChar));
    sendPacket(new ItemList(activeChar, false));
    sendPacket(new ShortCutInit(activeChar));
    activeChar.broadcastUserInfo();
    activeChar.sendPacket(new EtcStatusUpdate(activeChar));
  }
View Full Code Here

      activeChar.sendPacket(sm);
     
      statement.close();
     
      activeChar.getFriendList().remove(_name);
      activeChar.sendPacket(new FriendList(activeChar));
     
      if (friend != null)
      {
        friend.getFriendList().remove(activeChar.getName());
        friend.sendPacket(new FriendList(friend));
      }
    }
    catch (Exception e)
    {
      if (Config.ENABLE_ALL_EXCEPTIONS)
View Full Code Here

    {
      L2PcInstance friend = L2World.getInstance().getPlayer(friendName);

      if(friend != null) //friend logged in.
      {
        friend.sendPacket(new FriendList(friend));
      }
    }
  }
View Full Code Here

TOP

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

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.