DarkflameServer/dDatabase/CDClientDatabase/CDClientTables/CDItemSetSkillsTable.h

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

20 lines
590 B
C
Raw Normal View History

#pragma once
// Custom Classes
#include "CDTable.h"
struct CDItemSetSkills {
uint32_t SkillSetID; //!< The skill set ID
uint32_t SkillID; //!< The skill ID
uint32_t SkillCastType; //!< The skill cast type
};
class CDItemSetSkillsTable : public CDTable<CDItemSetSkillsTable, std::vector<CDItemSetSkills>> {
public:
void LoadValuesFromDatabase();
// Queries the table with a custom "where" clause
std::vector<CDItemSetSkills> Query(std::function<bool(CDItemSetSkills)> predicate);
2022-07-28 13:39:57 +00:00
std::vector<CDItemSetSkills> GetBySkillID(uint32_t SkillSetID);
};