GameHandler.BuyToInventory C# (CSharp) Метод

BuyToInventory() публичный статический Метод

public static BuyToInventory ( ItemDropType type, int itemID, int quantity, int price ) : void
type ItemDropType
itemID int
quantity int
price int
Результат void
    public static void BuyToInventory(ItemDropType type, int itemID, int quantity, int price)
    {
        GameHandler.SubMoney(quantity*price);
        GameHandler.AddToInventory(type, itemID, quantity);
    }
GameHandler