AddressableDefine.Partner.cs 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. using XGame.Database;
  2. namespace FL
  3. {
  4. /// <summary>
  5. /// 配置表没有字段定义,代码需要动态加载的资源名字
  6. /// </summary>
  7. internal static partial class AddressableDefine
  8. {
  9. public static string PartnerStarIconName(int lv)
  10. {
  11. return $"Partner_Star_{lv}";
  12. }
  13. //新图标
  14. /// <summary>
  15. /// 新属性类型图标(方)
  16. /// </summary>
  17. /// <param name="type"></param>
  18. /// <returns></returns>
  19. public static string SbElementType(int type)
  20. {
  21. return $"sb_elementType_{type}";
  22. }
  23. /// <summary>
  24. /// 新属性类型图标(菱形)
  25. /// </summary>
  26. /// <param name="type"></param>
  27. /// <returns></returns>
  28. public static string SbElementTypeRhombus(int type)
  29. {
  30. return $"sb_elementTypeRhombus_{type}";
  31. }
  32. /// <summary>
  33. /// 新圣兵职业类型图标
  34. /// </summary>
  35. /// <param name="type"></param>
  36. /// <returns></returns>
  37. public static string SbTypeIcon(int type)
  38. {
  39. return $"sb_type_{type}";
  40. }
  41. public static string SbPzDi(int pz)
  42. {
  43. return $"sb{pz}km";
  44. }
  45. public static string SbKB(int pz)
  46. {
  47. return $"sb{pz}kb";
  48. }
  49. public static string SbEmptyDi()
  50. {
  51. return "sb_emptydi";
  52. }
  53. public static string SbSummonEffectDi(EQualityLevel eQuality)
  54. {
  55. return $"sb_effect_{(int)eQuality}";
  56. }
  57. }
  58. }