GameHandler.SellFromInventory C# (CSharp) Method

SellFromInventory() public static method

public static SellFromInventory ( ItemDropType type, int itemID, int quantity, int price ) : void
type ItemDropType
itemID int
quantity int
price int
return void
    public static void SellFromInventory(ItemDropType type, int itemID, int quantity, int price)
    {
        GameHandler.AddMoney(quantity*price);
        GameHandler.RemoveFromInventory(type, itemID, quantity);
    }
GameHandler