InvBaseItem.cs 589 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. [Serializable]
  5. public class InvBaseItem
  6. {
  7. public int id16;
  8. public string name;
  9. public string description;
  10. public InvBaseItem.Slot slot;
  11. public int minItemLevel = 1;
  12. public int maxItemLevel = 50;
  13. public List<InvStat> stats = new List<InvStat>();
  14. public GameObject attachment;
  15. public Color color = Color.white;
  16. public UIAtlas iconAtlas;
  17. public string iconName = string.Empty;
  18. public enum Slot
  19. {
  20. None,
  21. Weapon,
  22. Shield,
  23. Body,
  24. Shoulders,
  25. Bracers,
  26. Boots,
  27. Trinket,
  28. _LastDoNotUse
  29. }
  30. }