ConstCardState.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. using System.Collections;
  2. namespace GFGGame
  3. {
  4. public class ConstCardState
  5. {
  6. public const int STATE_FULL_LV = 1;
  7. public const int STATE_LV = 2;
  8. public const int STATE_FULL_STAR = 3;
  9. public const int STATE_STAR= 4;
  10. public const int STATE_FULL_SKILL= 5;
  11. public const int STATE_SKILL = 6;
  12. public const string TITLE_FULL_LV = "满级";
  13. public const string TITLE_LV = "可升级";
  14. public const string TITLE_FULL_STAR = "满星";
  15. public const string TITLE_STAR = "可升星";
  16. public const string TITLE_FULL_SKILL = "满技能";
  17. public const string TITLE_SKILL = "可升技能";
  18. private static SortedList _cardStateList;
  19. public static SortedList CardStateList()
  20. {
  21. if (ConstCardState._cardStateList == null)
  22. {
  23. ConstCardState._cardStateList = new SortedList();
  24. ConstCardState._cardStateList.Add(ConstCardState.STATE_FULL_LV, ConstCardState.TITLE_FULL_LV);
  25. ConstCardState._cardStateList.Add(ConstCardState.STATE_LV, ConstCardState.TITLE_LV);
  26. ConstCardState._cardStateList.Add(ConstCardState.STATE_FULL_STAR, ConstCardState.TITLE_FULL_STAR);
  27. ConstCardState._cardStateList.Add(ConstCardState.STATE_STAR, ConstCardState.TITLE_STAR);
  28. ConstCardState._cardStateList.Add(ConstCardState.STATE_FULL_SKILL, ConstCardState.TITLE_FULL_SKILL);
  29. ConstCardState._cardStateList.Add(ConstCardState.STATE_SKILL, ConstCardState.TITLE_SKILL);
  30. }
  31. return ConstCardState._cardStateList;
  32. }
  33. }
  34. }