增加收获属性逻辑,优化掉落物表现效果
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user