Examples of PetItemList


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

      else
      {
        pet.getInventory().equipItem(item);
      }

      PetItemList pil = new PetItemList(pet);
      activeChar.sendPacket(pil);

      PetInfo pi = new PetInfo(pet);
      activeChar.sendPacket(pi);
      // The PetInfo packet wipes the PartySpelled (list of active spells' icons).  Re-add them
View Full Code Here

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

          {
            _activeChar.sendPacket(new PetInfo(summon));

            if(summon instanceof L2PetInstance)
            {
              _activeChar.sendPacket(new PetItemList((L2PetInstance) summon));
            }
          }
          else
          {
            _activeChar.sendPacket(new NpcInfo(summon, _activeChar));
View Full Code Here

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

          // The PetInfo packet wipes the PartySpelled (list of active  spells' icons).  Re-add them
          summon.updateEffectIcons(true);

          if(summon instanceof L2PetInstance)
          {
            active_char.sendPacket(new PetItemList((L2PetInstance) summon));
          }
        }
        else
        {
          active_char.sendPacket(new NpcInfo(summon, active_char));
View Full Code Here

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

      }
    }
   
    getInventory().addItem("Pickup", target, getOwner(), this);
    // FIXME Just send the updates if possible (old way wasn't working though)
    PetItemList iu = new PetItemList(this);
    getOwner().sendPacket(iu);
    iu = null;
   
    getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
   
View Full Code Here

Examples of l2p.gameserver.serverpackets.PetItemList

  public void sendItemList()
  {
    L2Player owner = getPlayer();
    if(owner != null)
    {
      owner.sendPacket(new PetItemList(this));
    }
  }
View Full Code Here

Examples of l2p.gameserver.serverpackets.PetItemList

    if(owner == null)
    {
      return;
    }
    broadcastStatusUpdate();
    owner.sendPacket(new PetItemList(this));
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.PetItemList

    {
      list.add(new PetInfo(this));
      list.add(new PartySpelled(this, true));
      if (isPet())
      {
        list.add(new PetItemList((PetInstance) this));
      }
    }
    else
    {
      Party party = forPlayer.getParty();
View Full Code Here

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

                    getActiveChar().sendPacket(new PetInfo(summon));
                    // The PetInfo packet wipes the PartySpelled (list of active  spells' icons).  Re-add them
                    summon.updateEffectIcons(true);
                    if (summon instanceof L2PetInstance)
                    {
                        getActiveChar().sendPacket(new PetItemList((L2PetInstance) summon));
                    }
                }
                else
                    getActiveChar().sendPacket(new NpcInfo(summon, getActiveChar()));
            }
View Full Code Here

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

          ItemsOnGroundManager.getInstance().removeObject(target);
    }

    getInventory().addItem("Pickup", target, getOwner(), this);
    //FIXME Just send the updates if possible (old way wasn't working though)
    PetItemList iu = new PetItemList(this);
    getOwner().sendPacket(iu);

    getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);

    if (getFollowStatus())
View Full Code Here

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

      if (item.isEquipped())
        pet.getInventory().unEquipItemInSlot(item.getEquipSlot());
      else
        pet.getInventory().equipItem(item);

      PetItemList pil = new PetItemList(pet);
      activeChar.sendPacket(pil);

      PetInfo pi = new PetInfo(pet);
      activeChar.sendPacket(pi);
      // The PetInfo packet wipes the PartySpelled (list of active spells' icons).  Re-add them
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.