using System.Collections;
using System.Collections.Generic;
using UnityEngine;
///
/// 物品 - 数据
///
public class DataItem {
/// 物品名称
public string name;
/// 物品类型
public ItemType itemType;
}
///
/// 物品类型。
///
public enum ItemType {
Material, // 材料
Equipment // 装备
}
///
/// 装备类型。
///
public enum EquipmentType {
Weapon, // 武器
Armor, // 护甲
Helmets, //头盔
Gloves, // 手套
Shoes, // 鞋子
}
///
/// 武器类型。
///
public enum WeaponType {
LightWeapon, // 轻型武器
MediumWeapon, // 中型武器
HeavyWeapon, //重型武器
Shield, // 盾牌
}
///
/// 护甲类型。
///
public enum ArmorType {
ClothArmor, // 布甲
LightArmor, // 轻甲
MediumArmor, // 中甲
HeavyArmor, // 重甲
}