#pragma once #include "CDTable.h" enum class eDeletionRestrictionsCheckType : uint32_t; struct CDDeletionRestriction { uint32_t id; bool restricted; std::vector ids; eDeletionRestrictionsCheckType checkType; }; class CDDeletionRestrictionsTable : public CDTable> { public: void LoadValuesFromDatabase(); const CDDeletionRestriction& GetByID(uint32_t id); static CDDeletionRestriction Default; };