mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-15 04:38:21 +00:00
20 lines
366 B
C++
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;
|
|
};
|