using Milimoe.FunGame.Core.Library.Constant;
namespace Milimoe.FunGame.Core.Entity
{
///
/// 角色的装备槽位
///
public class EquipSlot()
{
///
/// 魔法卡包
///
public Item? MagicCardPack { get; internal set; } = null;
///
/// 武器
///
public Item? Weapon { get; internal set; } = null;
///
/// 防具
///
public Item? Armor { get; internal set; } = null;
///
/// 鞋子
///
public Item? Shoes { get; internal set; } = null;
///
/// 饰品1
///
public Item? Accessory1 { get; internal set; } = null;
///
/// 饰品2
///
public Item? Accessory2 { get; internal set; } = null;
///
/// 上一次装备的饰品槽
///
public EquipSlotType LastEquipSlotType { get; internal set; } = EquipSlotType.Accessory1;
///
/// 是否有任意装备
///
///
public bool Any()
{
return MagicCardPack != null || Weapon != null || Armor != null || Shoes != null || Accessory1 != null || Accessory2 != null;
}
}
}