TrinityCore
CharacterDatabaseCleaner Namespace Reference

Enumerations

enum  CleaningFlags {
  CLEANING_FLAG_ACHIEVEMENT_PROGRESS = 0x1 , CLEANING_FLAG_SKILLS = 0x2 , CLEANING_FLAG_SPELLS = 0x4 , CLEANING_FLAG_TALENTS = 0x8 ,
  CLEANING_FLAG_QUESTSTATUS = 0x10
}
 

Functions

TC_GAME_API void CleanDatabase ()
 
TC_GAME_API void CheckUnique (char const *column, char const *table, bool(*check)(uint32))
 
TC_GAME_API bool AchievementProgressCheck (uint32 criteria)
 
TC_GAME_API bool SkillCheck (uint32 skill)
 
TC_GAME_API bool SpellCheck (uint32 spell_id)
 
TC_GAME_API bool TalentCheck (uint32 talent_id)
 
TC_GAME_API void CleanCharacterAchievementProgress ()
 
TC_GAME_API void CleanCharacterSkills ()
 
TC_GAME_API void CleanCharacterSpell ()
 
TC_GAME_API void CleanCharacterTalent ()
 
TC_GAME_API void CleanCharacterQuestStatus ()
 

Enumeration Type Documentation

◆ CleaningFlags

Enumerator
CLEANING_FLAG_ACHIEVEMENT_PROGRESS 
CLEANING_FLAG_SKILLS 
CLEANING_FLAG_SPELLS 
CLEANING_FLAG_TALENTS 
CLEANING_FLAG_QUESTSTATUS 

Definition at line 23 of file CharacterDatabaseCleaner.h.

Function Documentation

◆ AchievementProgressCheck()

bool CharacterDatabaseCleaner::AchievementProgressCheck ( uint32  criteria)

Definition at line 106 of file CharacterDatabaseCleaner.cpp.

+ Here is the caller graph for this function:

◆ CheckUnique()

void CharacterDatabaseCleaner::CheckUnique ( char const *  column,
char const *  table,
bool(*)(uint32 check 
)

Definition at line 67 of file CharacterDatabaseCleaner.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CleanCharacterAchievementProgress()

void CharacterDatabaseCleaner::CleanCharacterAchievementProgress ( )

Definition at line 111 of file CharacterDatabaseCleaner.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CleanCharacterQuestStatus()

void CharacterDatabaseCleaner::CleanCharacterQuestStatus ( )

Definition at line 152 of file CharacterDatabaseCleaner.cpp.

+ Here is the caller graph for this function:

◆ CleanCharacterSkills()

void CharacterDatabaseCleaner::CleanCharacterSkills ( )

Definition at line 121 of file CharacterDatabaseCleaner.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CleanCharacterSpell()

void CharacterDatabaseCleaner::CleanCharacterSpell ( )

Definition at line 132 of file CharacterDatabaseCleaner.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CleanCharacterTalent()

void CharacterDatabaseCleaner::CleanCharacterTalent ( )

Definition at line 146 of file CharacterDatabaseCleaner.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CleanDatabase()

void CharacterDatabaseCleaner::CleanDatabase ( )

Definition at line 29 of file CharacterDatabaseCleaner.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SkillCheck()

bool CharacterDatabaseCleaner::SkillCheck ( uint32  skill)

Definition at line 116 of file CharacterDatabaseCleaner.cpp.

+ Here is the caller graph for this function:

◆ SpellCheck()

bool CharacterDatabaseCleaner::SpellCheck ( uint32  spell_id)

Definition at line 126 of file CharacterDatabaseCleaner.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TalentCheck()

bool CharacterDatabaseCleaner::TalentCheck ( uint32  talent_id)

Definition at line 137 of file CharacterDatabaseCleaner.cpp.

+ Here is the caller graph for this function: