internal void addItem(EconGameItem GameItem, int Amount) { EconInventorySlot EmptySlot = getNextFreeSlot(); //EmptySlot.Slot = GameItem; EmptySlot.stackAmount = Amount; }
internal void addItem(int SlotIndex, EconGameItem GameItem, int Amount) { EconInventorySlot Slot = Slots[SlotIndex]; //Slot.Slot = GameItem; Slot.stackAmount = Amount; }
public void addItem(EconGameItem GameItem) { EconInventorySlot EmptySlot = getNextFreeSlot(); //EmptySlot.Slot = GameItem; EmptySlot.stackAmount = 1; }