12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- using XGame.Database;
- namespace FL
- {
- /// <summary>
- /// 配置表没有字段定义,代码需要动态加载的资源名字
- /// </summary>
- internal static partial class AddressableDefine
- {
- /// <summary>
- /// 战力的图标
- /// </summary>
- public const string itemicon_power = "itemicon_power";
- /// <summary>
- /// 金币的图标
- /// </summary>
- public const string itemicon_gold = "itemicon_1";
- /// <summary>
- /// 钻石的图标
- /// </summary>
- public const string itemicon_diamond = "itemicon_2";
- /// <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}";
- }
- }
- }
|