#pragma once #include "Asset/IZoneAssetCreationState.h" #include "Techset/CommonTechset.h" #include #include #include namespace techset { class CommonTechsetCache final : public IZoneAssetCreationState { public: [[nodiscard]] CommonTechset* GetCachedTechsetDefinition(const std::string& techsetName) const; void AddCommonTechsetToCache(std::string name, std::unique_ptr definition); private: std::unordered_map> m_cache; }; } // namespace techset