ShopPlatformEntry.cs 609 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using UnityEngine;
  6. namespace ScrapYard.API
  7. {
  8. public class ShopPlatformEntry
  9. {
  10. public int ItemID { get; protected set; }
  11. public int Price { get; protected set; }
  12. public int Quantity { get; protected set; }
  13. public int CurrencyItemID { get; protected set; }
  14. public ShopPlatformEntry(int itemID, int price, int quantity = 1, int currencyItemID = 57)
  15. {
  16. this.ItemID = itemID;
  17. this.Price = price;
  18. this.CurrencyItemID = currencyItemID;
  19. this.Quantity = quantity;
  20. }
  21. }
  22. }