namespace ColdMint.scripts.inventory;
///
/// IItemDisplay
/// 物品显示器
///
public interface IItemDisplay
{
///
/// Call this method to refresh the display when the item's information changes
/// 物品的信息发生变更时,调用此方法刷新显示器
///
///
///
///New data for items after changes
///发生改变后的物品新数据
///
///
void Update(IItem? item);
///
/// Gets the item that is being displayed
/// 获取正在显示的物品
///
IItem? Item { get; }
///
/// Show item Display
/// 显示物品显示器
///
void ShowSelf();
///
/// Hide item Display
/// 隐藏物品显示器
///
void HideSelf();
}