#pragma once
#include "EngineFrame/Component/Component.h"
#include "Asset/Common/Equipment.h"

class CharacterObject;
class Chr_Equipment : public Component
{
public:
    // 默认装备
    std::map<std::string, RefPtr<Equipment>> _default_equip;
    // 真实穿戴装备
    std::map<std::string, RefPtr<Equipment>> _real_equip;

public:
    // 初始化
    void Init(CharacterObject *parent);
    // 获取部位穿戴的装备
    RefPtr<Equipment> GetEquip(std::string part);
};
