#pragma once // Custom Classes #include "CDTable.h" struct CDActivityRewards { unsigned int objectTemplate; unsigned int ActivityRewardIndex; int activityRating; unsigned int LootMatrixIndex; unsigned int CurrencyIndex; unsigned int ChallengeRating; std::string description; }; class CDActivityRewardsTable : public CDTable { private: std::vector entries; public: CDActivityRewardsTable(); // Queries the table with a custom "where" clause std::vector Query(std::function predicate); std::vector GetEntries(void) const; };