private void AddItemInStock(ItemStockInit itemStockInit) { //Stock Stock.GetStock().Add(itemStockInit.ItemRef, itemStockInit.Amount); //Mémoire MemoryComponent.AddItem(itemStockInit); }
public void AddItem(ItemStockInit ItemStockInit) { AddItem(ItemStockInit.ItemRef, ItemStockInit.PriceBuy, ItemStockInit.PriceSell, null); }