mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-24 22:43:34 +00:00
5eca25e42a
* Move away from constructor queries Fix up other large tables to have proper backup lookups Revert "idk im just dumb ig" This reverts commit 5d5be5df53b8959b42b291613d7db749a65a3585. idk im just dumb ig * Fix slow components registry lookup * add define for cdclient cache all * Update CDBehaviorParameterTable.cpp
40 lines
1.6 KiB
C++
40 lines
1.6 KiB
C++
#pragma once
|
|
|
|
// Custom Classes
|
|
#include "CDTable.h"
|
|
|
|
struct CDSkillBehavior {
|
|
unsigned int skillID; //!< The Skill ID of the skill
|
|
UNUSED(unsigned int locStatus); //!< ??
|
|
unsigned int behaviorID; //!< The Behavior ID of the skill
|
|
unsigned int imaginationcost; //!< The imagination cost of the skill
|
|
unsigned int cooldowngroup; //!< The cooldown group ID of the skill
|
|
float cooldown; //!< The cooldown time of the skill
|
|
UNUSED(bool isNpcEditor); //!< ???
|
|
UNUSED(unsigned int skillIcon); //!< The Skill Icon ID
|
|
UNUSED(std::string oomSkillID); //!< ???
|
|
UNUSED(unsigned int oomBehaviorEffectID); //!< ???
|
|
UNUSED(unsigned int castTypeDesc); //!< The cast type description(?)
|
|
UNUSED(unsigned int imBonusUI); //!< The imagination bonus of the skill
|
|
UNUSED(nsigned int lifeBonusUI); //!< The life bonus of the skill
|
|
UNUSED(unsigned int armorBonusUI); //!< The armor bonus of the skill
|
|
UNUSED(unsigned int damageUI); //!< ???
|
|
UNUSED(bool hideIcon); //!< Whether or not to show the icon
|
|
UNUSED(bool localize); //!< ???
|
|
UNUSED(std::string gate_version); //!< ???
|
|
UNUSED(unsigned int cancelType); //!< The cancel type (?)
|
|
};
|
|
|
|
class CDSkillBehaviorTable : public CDTable<CDSkillBehaviorTable> {
|
|
private:
|
|
std::map<unsigned int, CDSkillBehavior> entries;
|
|
CDSkillBehavior m_empty;
|
|
|
|
public:
|
|
void LoadValuesFromDatabase();
|
|
|
|
// Gets an entry by skillID
|
|
const CDSkillBehavior& GetSkillByID(unsigned int skillID);
|
|
};
|
|
|