﻿using JLGames.RocketDriver.Games.RpgMaterial.Material;

namespace JLGames.RocketDriver.Games.RpgMaterial.User
{
    public interface IUserMaterialDisplay : IUserMaterial
    {
        /// <summary>
        /// Icon id
        /// 图标Id
        /// </summary>
        int IconId { get; }

        /// <summary>
        /// Icon path
        /// 图标路径
        /// </summary>
        string IconPath { get; }

        /// <summary>
        /// Display weight factor
        /// 显示权重
        /// </summary>
        int Weight { get; }
    }

    public interface IUserMaterialDisplay<TM, TCfg> : IUserMaterialDisplay, IUserMaterial<TM, TCfg>
        where TM : IMaterialDisplay<TCfg>
    {
    }
}