12345678910111213141516171819202122232425262728293031 |
- using XGame.Database;
- namespace FL
- {
- /// <summary>
- /// 配置表没有字段定义,代码需要动态加载的资源名字
- /// </summary>
- internal static partial class AddressableDefine
- {
- /// <summary>
- /// 物品品质框
- /// </summary>
- /// <param name="level"></param>
- /// <returns></returns>
- public static string ItemFrame(EQualityLevel level)
- {
- return $"daojukuang{(int)level}";
- }
- /// <summary>
- /// 物品图标
- /// </summary>
- /// <param name="iconName"></param>
- /// <returns></returns>
- public static string ItemIcon(string iconName)
- {
- return $"itemicon{iconName}";
- }
- }
- }
|