This commit is contained in:
MuHua-123
2025-07-19 17:50:04 +08:00
parent d4574f4bd7
commit 2b349081e2
24 changed files with 1247 additions and 204 deletions
+10 -35
View File
@@ -2,6 +2,15 @@ using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 物品类型。
/// </summary>
public enum ItemType {
/// <summary> 材料 </summary>
Material,
/// <summary> 装备 </summary>
Equipment
}
/// <summary>
/// 物品 - 数据
/// </summary>
@@ -11,38 +20,4 @@ public class DataItem {
/// <summary> 物品类型 </summary>
public ItemType itemType;
}
/// <summary>
/// 物品类型。
/// </summary>
public enum ItemType {
Material, // 材料
Equipment // 装备
}
/// <summary>
/// 装备类型。
/// </summary>
public enum EquipmentType {
Weapon, // 武器
Armor, // 护甲
Helmets, //头盔
Gloves, // 手套
Shoes, // 鞋子
}
/// <summary>
/// 武器类型。
/// </summary>
public enum WeaponType {
LightWeapon, // 轻型武器
MediumWeapon, // 中型武器
HeavyWeapon, //重型武器
Shield, // 盾牌
}
/// <summary>
/// 护甲类型。
/// </summary>
public enum ArmorType {
ClothArmor, // 布甲
LightArmor, // 轻甲
MediumArmor, // 中甲
HeavyArmor, // 重甲
}