AddressableDefine.Partner.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. 
  2. using XGame.Database;
  3. namespace FL
  4. {
  5. /// <summary>
  6. /// 配置表没有字段定义,代码需要动态加载的资源名字
  7. /// </summary>
  8. internal static partial class AddressableDefine
  9. {
  10. public static string PartnerQualityFrame(int qualityLv)
  11. {
  12. return $"partner_pzdi_{qualityLv}";
  13. }
  14. public static string PartnerStarIconName(int lv)
  15. {
  16. return $"Partner_Star_{lv}";
  17. }
  18. public static string PartnerSpProgressDi(int quality)
  19. {
  20. return $"partner_jindutiao_{quality}";
  21. }
  22. /// <summary>
  23. /// 获取圣兵的元素伤害类型
  24. /// </summary>
  25. /// <param name="type"></param>
  26. /// <returns></returns>
  27. public static string PartnerElementType(int type)
  28. {
  29. return $"partner_elementType_{type}";
  30. }
  31. public static string PartnerEmptyDi()
  32. {
  33. return "partner_emptydi";
  34. }
  35. }
  36. }