#pragma once #include "CDTable.h" enum class eDeletionRestrictionsCheckType : uint32_t; struct CDDeletionRestrictions { uint32_t id; bool restricted; std::vector ids; eDeletionRestrictionsCheckType checkType; }; class CDDeletionRestrictionsTable : public CDTable> { public: void LoadValuesFromDatabase(); std::vector Query(std::function predicate); };