DarkflameServer/dDatabase/Tables/CDRewardsTable.h

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

20 lines
366 B
C
Raw Normal View History

#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:
2023-07-26 04:44:45 +00:00
std::vector<CDRewards> m_entries;
};