增加收获属性逻辑,优化掉落物表现效果

This commit is contained in:
2026-10-05 17:02:29 +08:00
parent d55b1013ca
commit 7590d78e74
53 changed files with 1633 additions and 241 deletions
@@ -16,6 +16,7 @@ namespace SepCore.UI
public string TypeName;
public string Description;
public int Price;
public bool IsLocked;
public GoodsItemContext()
{
@@ -26,6 +27,7 @@ namespace SepCore.UI
Price = 0;
Icon = null;
ItemType = ItemType.Weapon;
IsLocked = false;
}
public GoodsItemContext(GoodsItemRawData rawData) : this()
@@ -33,6 +35,7 @@ namespace SepCore.UI
Price = rawData.Price;
Rarity = rawData.Rarity;
ItemType = rawData.ItemType;
IsLocked = rawData.IsLocked;
if (ItemType == ItemType.Weapon)
{