Examples of ItemInfo


Examples of com.jada.content.data.ItemInfo

    }
   
    private boolean isExist(Vector<?> crossSellItems, Item item) {
      Iterator<?> iterator = crossSellItems.iterator();
      while (iterator.hasNext()) {
        ItemInfo shoppingCartItemBean = (ItemInfo) iterator.next();
        if (shoppingCartItemBean.getItemId().equals(item.getItemId().toString())) {
          return true;
        }
      }
      return false;
    }
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.ItemInfo

    this(new FastList<ItemInfo>());
  }

  public void addItem(L2ItemInstance item)
  {
    _items.add(new ItemInfo(item));
  }
View Full Code Here

Examples of com.oltpbenchmark.benchmarks.auctionmark.util.ItemInfo

       
        Integer temp = SQLUtil.getInteger(row[col++]);
        if (temp == null) throw new RuntimeException("DJELLEL IS STILL THE MAN! --> " + row[col-1] + " / " + row[col-1].getClass());
        ItemStatus i_status = ItemStatus.get(temp); // i_status
       
        ItemInfo itemInfo = new ItemInfo(i_id, i_current_price, i_end_date, (int)i_num_bids);
        itemInfo.status = i_status;
       
        UserId sellerId = new UserId(i_u_id);
        assert (i_id.getSellerId().equals(sellerId));
        
View Full Code Here

Examples of com.sk89q.craftbook.util.ItemInfo

        return player.getItemInHand().getDurability();
    }

    @Override
    public ItemInfo getHeldItemInfo () {
        return new ItemInfo(Material.getMaterial(getHeldItemType()), getHeldItemData());
    }
View Full Code Here

Examples of edu.brown.benchmark.auctionmark.util.ItemInfo

        public ItemId processItemRecord(VoltTable vt) {
            ItemId itemId = new ItemId(vt.getLong("i_id"));
            TimestampType endDate = vt.getTimestampAsTimestamp("i_end_date");
            short numBids = (short)vt.getLong("i_num_bids");
            double currentPrice = vt.getDouble("i_current_price");
            ItemInfo itemInfo = new ItemInfo(itemId, currentPrice, endDate, numBids);
            if (vt.hasColumn("ip_id")) itemInfo.status = ItemStatus.CLOSED;
            if (vt.hasColumn("i_status")) itemInfo.status = ItemStatus.get(vt.getLong("i_status"));
           
            UserId sellerId = new UserId(vt.getLong("i_u_id"));
            assert (itemId.getSellerId().equals(sellerId));
View Full Code Here

Examples of lineage2.gameserver.model.items.ItemInfo

  public ExReplyPostItemList(Player activeChar)
  {
    ItemInstance[] items = activeChar.getInventory().getItems();
    for (ItemInstance item : items)
      if (item.canBeTraded(activeChar))
        _itemsList.add(new ItemInfo(item));
  }
View Full Code Here

Examples of mekanism.api.ItemInfo

    if(check == null || check.getItem() == null)
    {
      return new ArrayList<String>();
    }

    ItemInfo info = ItemInfo.get(check);
    List<String> cached = cachedKeys.get(info);

    if(cached != null)
    {
      return cached;
View Full Code Here

Examples of net.sf.l2j.gameserver.model.ItemInfo

    {
      showDebug();
    }
  }

  public void addItem(L2ItemInstance item) { if (item != null) _items.add(new ItemInfo(item)); }
View Full Code Here

Examples of net.sf.l2j.gameserver.model.ItemInfo

      showDebug();
    }
  }

  public void addItem(L2ItemInstance item) { if (item != null) _items.add(new ItemInfo(item)); }
  public void addNewItem(L2ItemInstance item) { if (item != null) _items.add(new ItemInfo(item, 1)); }
View Full Code Here

Examples of net.sf.l2j.gameserver.model.ItemInfo

    }
  }

  public void addItem(L2ItemInstance item) { if (item != null) _items.add(new ItemInfo(item)); }
  public void addNewItem(L2ItemInstance item) { if (item != null) _items.add(new ItemInfo(item, 1)); }
  public void addModifiedItem(L2ItemInstance item) { if (item != null) _items.add(new ItemInfo(item, 2)); }
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.