AddressableDefine.Item.cs 895 B

1234567891011121314151617181920212223242526272829303132
  1. using XGame.Database;
  2. namespace FL
  3. {
  4. /// <summary>
  5. /// 配置表没有字段定义,代码需要动态加载的资源名字
  6. /// </summary>
  7. internal static partial class AddressableDefine
  8. {
  9. /// <summary>
  10. /// 战力的图标
  11. /// </summary>
  12. public const string itemicon_power = "itemicon_power";
  13. /// <summary>
  14. /// 金币的图标
  15. /// </summary>
  16. public const string itemicon_gold = "itemicon_1";
  17. /// <summary>
  18. /// 钻石的图标
  19. /// </summary>
  20. public const string itemicon_diamond = "itemicon_2";
  21. /// <summary>
  22. /// 物品品质框
  23. /// </summary>
  24. /// <param name="level"></param>
  25. /// <returns></returns>
  26. public static string ItemFrame(EQualityLevel level)
  27. {
  28. return $"daojukuang{(int)level}";
  29. }
  30. }
  31. }