DarkflameServer/dDatabase/Tables/CDRewardsTable.h
David Markowitz 84708b860a rewards
2023-07-25 21:44:45 -07:00

20 lines
366 B
C++

#pragma once
#include "CDTable.h"
#include <string>
struct CDRewards {
int32_t levelID;
int32_t missionID;
int32_t rewardType;
int32_t value;
int32_t count;
};
class CDRewardsTable : public CDTable<CDRewardsTable> {
public:
void LoadValuesFromDatabase();
std::vector<CDRewards> GetByLevelID(uint32_t levelID);
private:
std::vector<CDRewards> m_entries;
};