RemoveDroppedItems()

Found in:

public void RemoveDroppedItems(Item item = null){
    if(item == null){
      for(int i = 0; i < droppedItems; i++){
        if(droppedItem[i].full){
          droppedItem[i].emptyOut();
        }
      }
    }else{
      for(int i = 0; i < droppedItems; i++){
        if(droppedItem[i].full){
          if(droppedItem[i].thisItem.GetISO() == item.GetISO()){
            droppedItem[i].emptyOut();
            break;
          }
        }
      }
    }
  }


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *