DarkflameServer/dDatabase/CDClientDatabase/CDClientTables/CDMissionEmailTable.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
531 B
C
Raw Normal View History

#pragma once
// Custom Classes
#include "CDTable.h"
struct CDMissionEmail {
uint32_t ID;
uint32_t messageType;
uint32_t notificationGroup;
uint32_t missionID;
uint32_t attachmentLOT;
bool localize;
uint32_t locStatus;
std::string gate_version;
};
class CDMissionEmailTable : public CDTable<CDMissionEmailTable, std::vector<CDMissionEmail>> {
public:
void LoadValuesFromDatabase();
// Queries the table with a custom "where" clause
std::vector<CDMissionEmail> Query(std::function<bool(CDMissionEmail)> predicate);
};