#pragma once #ifndef __ESPAWNPATTERNS__H__ #define __ESPAWNPATTERNS__H__ #include #include #include #include "ItemModifierTemplate.h" class SpawnPatterns { public: SpawnPatterns(int32_t lot); ~SpawnPatterns() = default; void AddSpawnPatterns(float rating, float change, std::vector spawns); const std::map>>& GetSpawnPatterns() const; static void LoadSpawnPatterns(const std::string& filename); static SpawnPatterns* FindSpawnPatterns(int32_t lot); private: int32_t m_Lot; std::map>> m_SpawnPatterns; static std::map s_SpawnPatterns; }; #endif //!__ESPAWNPATTERNS__H__