AzerothCore 3.3.5a
OpenSource WoW Emulator
|
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 | |
void | CleanDatabase () |
void | CheckUnique (const char *column, const char *table, bool(*check)(uint32)) |
bool | AchievementProgressCheck (uint32 criteria) |
bool | SkillCheck (uint32 skill) |
bool | SpellCheck (uint32 spell_id) |
bool | TalentCheck (uint32 talent_id) |
void | CleanCharacterAchievementProgress () |
void | CleanCharacterSkills () |
void | CleanCharacterSpell () |
void | CleanCharacterTalent () |
void | CleanCharacterQuestStatus () |
Enumerator | |
---|---|
CLEANING_FLAG_ACHIEVEMENT_PROGRESS | |
CLEANING_FLAG_SKILLS | |
CLEANING_FLAG_SPELLS | |
CLEANING_FLAG_TALENTS | |
CLEANING_FLAG_QUESTSTATUS |
bool CharacterDatabaseCleaner::AchievementProgressCheck | ( | uint32 | criteria | ) |
References sAchievementCriteriaStore.
Referenced by CleanCharacterAchievementProgress().
void CharacterDatabaseCleaner::CheckUnique | ( | const char * | column, |
const char * | table, | ||
bool(*)(uint32) | check | ||
) |
References CharacterDatabase, Field::Get(), and LOG_INFO.
Referenced by CleanCharacterAchievementProgress(), CleanCharacterSkills(), CleanCharacterSpell(), and CleanCharacterTalent().
void CharacterDatabaseCleaner::CleanCharacterAchievementProgress | ( | ) |
References AchievementProgressCheck(), and CheckUnique().
Referenced by CleanDatabase().
void CharacterDatabaseCleaner::CleanCharacterQuestStatus | ( | ) |
void CharacterDatabaseCleaner::CleanCharacterSkills | ( | ) |
References CheckUnique(), and SkillCheck().
Referenced by CleanDatabase().
void CharacterDatabaseCleaner::CleanCharacterSpell | ( | ) |
References CheckUnique(), and SpellCheck().
Referenced by CleanDatabase().
void CharacterDatabaseCleaner::CleanCharacterTalent | ( | ) |
References CharacterDatabase, CheckUnique(), MAX_TALENT_SPECS, and TalentCheck().
Referenced by CleanDatabase().
void CharacterDatabaseCleaner::CleanDatabase | ( | ) |
References CharacterDatabase, CleanCharacterAchievementProgress(), CleanCharacterQuestStatus(), CleanCharacterSkills(), CleanCharacterSpell(), CleanCharacterTalent(), CLEANING_FLAG_ACHIEVEMENT_PROGRESS, CLEANING_FLAG_QUESTSTATUS, CLEANING_FLAG_SKILLS, CLEANING_FLAG_SPELLS, CLEANING_FLAG_TALENTS, CONFIG_CLEAN_CHARACTER_DB, CONFIG_PERSISTENT_CHARACTER_CLEAN_FLAGS, getMSTime(), GetMSTimeDiffToNow(), LOG_INFO, sWorld, and WS_CLEANING_FLAGS.
Referenced by World::SetInitialWorldSettings().
bool CharacterDatabaseCleaner::SkillCheck | ( | uint32 | skill | ) |
References sSkillLineStore.
Referenced by CleanCharacterSkills().
bool CharacterDatabaseCleaner::SpellCheck | ( | uint32 | spell_id | ) |
References GetTalentSpellPos(), and sSpellMgr.
Referenced by CleanCharacterSpell().
bool CharacterDatabaseCleaner::TalentCheck | ( | uint32 | talent_id | ) |
References sTalentStore, sTalentTabStore, and TalentEntry::TalentTab.
Referenced by CleanCharacterTalent().