AddressableDefine.Partner.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. using XGame.Database;
  2. namespace FL
  3. {
  4. /// <summary>
  5. /// 配置表没有字段定义,代码需要动态加载的资源名字
  6. /// </summary>
  7. internal static partial class AddressableDefine
  8. {
  9. public static string PartnerQualityFrame(int qualityLv)
  10. {
  11. return $"partner_pzdi_{qualityLv}";
  12. }
  13. public static string PartnerStarIconName(int lv)
  14. {
  15. return $"Partner_Star_{lv}";
  16. }
  17. public static string PartnerSpProgressDi(int quality)
  18. {
  19. return $"partner_jindutiao_{quality}";
  20. }
  21. /// <summary>
  22. /// 获取圣兵的元素伤害类型
  23. /// </summary>
  24. /// <param name="type"></param>
  25. /// <returns></returns>
  26. public static string PartnerElementType(int type)
  27. {
  28. return $"partner_elementType_{type}";
  29. }
  30. public static string PartnerEmptyDi()
  31. {
  32. return "partner_emptydi";
  33. }
  34. //新图标
  35. /// <summary>
  36. /// 新属性类型图标(方)
  37. /// </summary>
  38. /// <param name="type"></param>
  39. /// <returns></returns>
  40. public static string SbElementType(int type)
  41. {
  42. return $"sb_elementType_{type}";
  43. }
  44. /// <summary>
  45. /// 新圣兵类型图标
  46. /// </summary>
  47. /// <param name="type"></param>
  48. /// <returns></returns>
  49. public static string SbTypeIcon(int type)
  50. {
  51. return $"sb_type_{type}";
  52. }
  53. }
  54. }