public static BuyToInventory ( ItemDropType type, int itemID, int quantity, int price ) : void | ||
type | ItemDropType | |
itemID | int | |
quantity | int | |
price | int | |
return | void |
public static void BuyToInventory(ItemDropType type, int itemID, int quantity, int price)
{
GameHandler.SubMoney(quantity*price);
GameHandler.AddToInventory(type, itemID, quantity);
}