#ifndef ACHIEVEMENTVENDORCOMPONENT_H #define ACHIEVEMENTVENDORCOMPONENT_H #include "VendorComponent.h" #include "eReplicaComponentType.h" #include #include class Entity; class AchievementVendorComponent final : public VendorComponent { public: static constexpr eReplicaComponentType ComponentType = eReplicaComponentType::ACHIEVEMENT_VENDOR; AchievementVendorComponent(Entity* parent); void RefreshInventory(bool isCreation = false) override; bool SellsItem(Entity* buyer, const LOT lot); void Buy(Entity* buyer, LOT lot, uint32_t count); private: std::map> m_PlayerPurchasableItems; }; #endif //!ACHIEVEMENTVENDORCOMPONENT_H