예제 #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;
 }