#pragma once // Custom Classes #include "CDTable.h" struct CDScriptComponent { unsigned int id; //!< The component ID std::string script_name; //!< The script name std::string client_script_name; //!< The client script name }; class CDScriptComponentTable : public CDTable { private: std::map entries; CDScriptComponent m_ToReturnWhenNoneFound; public: void LoadValuesFromDatabase(); // Gets an entry by scriptID const CDScriptComponent& GetByID(unsigned int id); };