DarkflameServer/dDatabase/CDClientDatabase/CDClientTables/CDLevelProgressionLookupTable.h

19 lines
602 B
C
Raw Permalink Normal View History

#pragma once
// Custom Classes
#include "CDTable.h"
struct CDLevelProgressionLookup {
uint32_t id; //!< The Level ID
uint32_t requiredUScore; //!< The required LEGO Score
2022-07-28 13:39:57 +00:00
std::string BehaviorEffect; //!< The behavior effect attached to this
};
class CDLevelProgressionLookupTable : public CDTable<CDLevelProgressionLookupTable, std::vector<CDLevelProgressionLookup>> {
public:
void LoadValuesFromDatabase();
// Queries the table with a custom "where" clause
2022-07-28 13:39:57 +00:00
std::vector<CDLevelProgressionLookup> Query(std::function<bool(CDLevelProgressionLookup)> predicate);
};