Package net.sf.l2j.gameserver.serverpackets

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


          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

      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

          if (_activeChar.equals(summon.getOwner()))
          {
            _activeChar.sendPacket(new PetInfo(summon));

            if (summon instanceof L2PetInstance)
              _activeChar.sendPacket(new PetItemList((L2PetInstance) summon));
          }
          else
            _activeChar.sendPacket(new NpcInfo(summon, _activeChar));

          // The PetInfo packet wipes the PartySpelled (list of active spells' icons).  Re-add them
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.serverpackets.PetItemList

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.