#pragma once // Custom Classes #include "CDTable.h" #include #include struct CDBehaviorParameter { unsigned int behaviorID; //!< The Behavior ID std::unordered_map::iterator parameterID; //!< The Parameter ID float value; //!< The value of the behavior template }; class CDBehaviorParameterTable : public CDTable { private: std::unordered_map m_Entries; std::unordered_map m_ParametersList; public: void LoadValuesFromDatabase(); float GetValue(const uint32_t behaviorID, const std::string& name, const float defaultValue = 0); std::map GetParametersByBehaviorID(uint32_t behaviorID); };