Пример #1
0
 internal void addItem(EconGameItem GameItem, int Amount)
 {
     EconInventorySlot EmptySlot = getNextFreeSlot();
     //EmptySlot.Slot = GameItem;
     EmptySlot.stackAmount = Amount;
 }
Пример #2
0
 internal void addItem(int SlotIndex, EconGameItem GameItem, int Amount)
 {
     EconInventorySlot Slot = Slots[SlotIndex];
     //Slot.Slot = GameItem;
     Slot.stackAmount = Amount;
 }
Пример #3
0
 public void addItem(EconGameItem GameItem)
 {
     EconInventorySlot EmptySlot = getNextFreeSlot();
     //EmptySlot.Slot = GameItem;
     EmptySlot.stackAmount = 1;
 }