Examples of GetItem


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

    }

    L2WorldRegion oldregion = getPosition().getWorldRegion();

    // Create a server->client GetItem packet to pick up the L2ItemInstance
    GetItem gi = new GetItem((L2ItemInstance) this, player.getObjectId());
    player.broadcastPacket(gi);
    gi = null;

    synchronized (this)
    {
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.GetItem

    }
    if (target.pickupItem(item, Log.PartyPickup))
    {
      if (fromNpc == null)
      {
        player.broadcastPacket(new GetItem(item, player.getObjectId()));
      }
      player.broadcastPickUpMsg(item);
      item.pickupMe();
      broadcastToPartyMembers(target, SystemMessage2.obtainItemsBy(item, target));
    }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.GetItem

      member.getInventory().addAdena(count);
      member.sendPacket(SystemMessage2.obtainItems(ItemTemplate.ITEM_ID_ADENA, count, 0));
    }
    if (fromNpc == null)
    {
      player.broadcastPacket(new GetItem(item, player.getObjectId()));
    }
    item.pickupMe();
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.GetItem

          for (Skill skill : skills)
          {
            altUseSkill(skill, this);
          }
        }
        broadcastPacket(new GetItem(item, getObjectId()));
        item.deleteMe();
        return;
      }
      FlagItemAttachment attachment = item.getAttachment() instanceof FlagItemAttachment ? (FlagItemAttachment) item.getAttachment() : null;
      if (!isInParty() || (attachment != null))
      {
        if (pickupItem(item, Log.Pickup))
        {
          broadcastPacket(new GetItem(item, getObjectId()));
          broadcastPickUpMsg(item);
          item.pickupMe();
        }
      }
      else
View Full Code Here

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

        if (Config.ASSERT) assert getPosition().getWorldRegion() != null;

        L2WorldRegion oldregion = getPosition().getWorldRegion();

        // Create a server->client GetItem packet to pick up the L2ItemInstance
        GetItem gi = new GetItem((L2ItemInstance)this, player.getObjectId());
        player.broadcastPacket(gi);

        synchronized (this)
        {
            _isVisible = false;
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.