mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-20 03:30:18 +00:00
WIP
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include "CDTable.h"
|
||||
|
||||
enum class eDeletionRestrictionsCheckType : uint32_t;
|
||||
|
||||
struct CDDeletionRestrictions {
|
||||
uint32_t id;
|
||||
bool restricted;
|
||||
std::vector<uint32_t> ids;
|
||||
eDeletionRestrictionsCheckType checkType;
|
||||
};
|
||||
|
||||
class CDDeletionRestrictionsTable : public CDTable<CDDeletionRestrictionsTable, std::vector<CDDeletionRestrictions>> {
|
||||
public:
|
||||
void LoadValuesFromDatabase();
|
||||
std::vector<CDDeletionRestrictions> Query(std::function<bool(CDDeletionRestrictions)> predicate);
|
||||
};
|
||||
Reference in New Issue
Block a user