2025-07-19 19:03:53 +08:00
|
|
|
|
namespace Data
|
|
|
|
|
{
|
2025-08-19 20:22:10 +08:00
|
|
|
|
public enum ItemRarity
|
|
|
|
|
{
|
|
|
|
|
Common,
|
|
|
|
|
Uncommon,
|
|
|
|
|
Rare,
|
|
|
|
|
Epic,
|
|
|
|
|
Legendary
|
|
|
|
|
}
|
2025-08-25 18:24:12 +08:00
|
|
|
|
public class ItemDef : Define
|
2025-07-19 19:03:53 +08:00
|
|
|
|
{
|
2025-08-27 13:56:22 +08:00
|
|
|
|
public float FPS = 0;
|
|
|
|
|
public string[] textures;
|
2025-08-19 20:22:10 +08:00
|
|
|
|
public ItemRarity rarity = ItemRarity.Common;
|
2025-08-25 18:24:12 +08:00
|
|
|
|
public int maxStack = 10; // 最大堆叠数量,默认为10
|
2025-08-19 20:22:10 +08:00
|
|
|
|
public bool ssEquippable = false; // 是否可装备
|
2025-07-19 19:03:53 +08:00
|
|
|
|
}
|
2025-07-25 19:16:58 +08:00
|
|
|
|
|
2025-07-19 19:03:53 +08:00
|
|
|
|
}
|