TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
CharacterDatabaseCleaner.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
3  * Copyright (C) 2005-2010 MaNGOS <http://getmangos.com/>
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License as published by the
7  * Free Software Foundation; either version 2 of the License, or (at your
8  * option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13  * more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef CHARACTERDATABASECLEANER_H
20 #define CHARACTERDATABASECLEANER_H
21 
23 {
25  {
31  };
32 
34 
35  TC_GAME_API void CheckUnique(const char* column, const char* table, bool (*check)(uint32));
36 
38  TC_GAME_API bool SkillCheck(uint32 skill);
39  TC_GAME_API bool SpellCheck(uint32 spell_id);
40  TC_GAME_API bool TalentCheck(uint32 talent_id);
41 
47 }
48 
49 #endif
TC_GAME_API bool SkillCheck(uint32 skill)
Definition: CharacterDatabaseCleaner.cpp:120
TC_GAME_API void CleanCharacterQuestStatus()
Definition: CharacterDatabaseCleaner.cpp:156
Definition: CharacterDatabaseCleaner.h:30
TC_GAME_API void CleanCharacterTalent()
Definition: CharacterDatabaseCleaner.cpp:150
Definition: CharacterDatabaseCleaner.h:22
Definition: CharacterDatabaseCleaner.h:28
TC_GAME_API void CleanCharacterAchievementProgress()
Definition: CharacterDatabaseCleaner.cpp:115
TC_GAME_API void CleanDatabase()
Definition: CharacterDatabaseCleaner.cpp:28
CleaningFlags
Definition: CharacterDatabaseCleaner.h:24
TC_GAME_API void CleanCharacterSkills()
Definition: CharacterDatabaseCleaner.cpp:125
uint32_t uint32
Definition: Define.h:150
TC_GAME_API void CleanCharacterSpell()
Definition: CharacterDatabaseCleaner.cpp:136
Definition: CharacterDatabaseCleaner.h:27
#define TC_GAME_API
Definition: Define.h:134
TC_GAME_API void CheckUnique(const char *column, const char *table, bool(*check)(uint32))
Definition: CharacterDatabaseCleaner.cpp:71
TC_GAME_API bool SpellCheck(uint32 spell_id)
Definition: CharacterDatabaseCleaner.cpp:130
TC_GAME_API bool TalentCheck(uint32 talent_id)
Definition: CharacterDatabaseCleaner.cpp:141
Definition: CharacterDatabaseCleaner.h:26
T check(T value)
Definition: format.h:305
Definition: CharacterDatabaseCleaner.h:29
TC_GAME_API bool AchievementProgressCheck(uint32 criteria)
Definition: CharacterDatabaseCleaner.cpp:110