chore: remove non cstdint integer types in client ORM (#1405)

This commit is contained in:
David Markowitz
2024-01-08 23:54:14 -08:00
committed by GitHub
parent 4a50c60559
commit e0ddbce8e7
64 changed files with 252 additions and 252 deletions

View File

@@ -4,36 +4,36 @@
#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
uint32_t skillID; //!< The Skill ID of the skill
UNUSED(uint32_t locStatus); //!< ??
uint32_t behaviorID; //!< The Behavior ID of the skill
uint32_t imaginationcost; //!< The imagination cost of the skill
uint32_t 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(uint32_t 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(uint32_t oomBehaviorEffectID); //!< ???
UNUSED(uint32_t castTypeDesc); //!< The cast type description(?)
UNUSED(uint32_t imBonusUI); //!< The imagination bonus of the skill
UNUSED(nint32_t lifeBonusUI); //!< The life bonus of the skill
UNUSED(uint32_t armorBonusUI); //!< The armor bonus of the skill
UNUSED(uint32_t 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 (?)
UNUSED(uint32_t cancelType); //!< The cancel type (?)
};
class CDSkillBehaviorTable : public CDTable<CDSkillBehaviorTable> {
private:
std::map<unsigned int, CDSkillBehavior> entries;
std::map<uint32_t, CDSkillBehavior> entries;
CDSkillBehavior m_empty;
public:
void LoadValuesFromDatabase();
// Gets an entry by skillID
const CDSkillBehavior& GetSkillByID(unsigned int skillID);
const CDSkillBehavior& GetSkillByID(uint32_t skillID);
};