- 事件命名规范化:RefreshEventArgs → LevelUpRefreshEventArgs - LevelUp 子组件目录调整:LevelUpRewardItem + LevelUpRewardItemContext 移动到 LevelUp/ - Shop 子组件目录调整:DisplayItem/DisplayListArea/GoodsItem/ShopGoodsItem 及其 Context/RawData 全部移动到 Shop/ - 删除冗余文件:LevelUpRewardItemRawData(从未被使用) - 新增 ObjectPool 目录结构 - 更新 LevelUpController 和 LevelUpForm 中的事件引用
26 lines
615 B
C#
26 lines
615 B
C#
using SepCore.Definition;
|
|
|
|
namespace SepCore.UI
|
|
{
|
|
public class DisplayItemContext : UIContext
|
|
{
|
|
public string IconAssetName;
|
|
public ItemRarity Rarity;
|
|
public bool IsWeapon;
|
|
|
|
public DisplayItemContext()
|
|
{
|
|
IconAssetName = string.Empty;
|
|
Rarity = ItemRarity.None;
|
|
IsWeapon = false;
|
|
}
|
|
|
|
public DisplayItemContext(DisplayItemRawData rawData)
|
|
{
|
|
this.IconAssetName = rawData.IconAssetName;
|
|
this.Rarity = rawData.Rarity;
|
|
this.IsWeapon = rawData.IsWeapon;
|
|
}
|
|
}
|
|
}
|