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