#ifndef CDBASECOMBATAICOMPONENTTABLE_H #define CDBASECOMBATAICOMPONENTTABLE_H #include "CDTable.h" struct CDBaseCombatAIComponent { int32_t id; float aggroRadius; float tetherSpeed; float pursuitSpeed; float softTetherRadius; float hardTetherRadius; }; class CDBaseCombatAIComponentTable : public CDTable> { public: void LoadValuesFromDatabase(); void LoadValuesFromDefaults(); std::vector Query(std::function predicate); const std::vector& GetEntries() const; }; #endif //CDBASECOMBATAICOMPONENTTABLE_H