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