using System.Collections;
using System.Collections.Generic;
using UnityEngine;
///
/// 库存类型枚举,区分背包、仓库等不同库存。
///
public enum InventoryType { EquipmentSlot, Backpack, Storage }
///
/// 物品库存 - 数据
///
public abstract class DataInventory {
/// 库存类型
public InventoryType inventoryType;
}
///
/// 仓库 - 库存
///
public class DataStorage : DataInventory {
}
///
/// 背包 - 库存
///
public class DataBackpack : DataInventory {
}