- Compilation fix: Restored deleted code to restore compilation possibility
This commit is contained in:
@@ -181,6 +181,32 @@ std::string DBUpdater<CharacterDatabaseConnection>::GetDBModuleName()
|
|||||||
return "characters";
|
return "characters";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef MOD_PLAYERBOTS
|
||||||
|
// Playerbots Database
|
||||||
|
template<>
|
||||||
|
std::string DBUpdater<PlayerbotsDatabaseConnection>::GetConfigEntry()
|
||||||
|
{
|
||||||
|
return "Updates.Playerbots";
|
||||||
|
}
|
||||||
|
|
||||||
|
template<>
|
||||||
|
std::string DBUpdater<PlayerbotsDatabaseConnection>::GetTableName()
|
||||||
|
{
|
||||||
|
return "Playerbots";
|
||||||
|
}
|
||||||
|
|
||||||
|
template<>
|
||||||
|
std::string DBUpdater<PlayerbotsDatabaseConnection>::GetSourceDirectory()
|
||||||
|
{
|
||||||
|
return BuiltInConfig::GetSourceDirectory() + "/modules/mod-playerbots";
|
||||||
|
}
|
||||||
|
|
||||||
|
template<>
|
||||||
|
std::string DBUpdater<PlayerbotsDatabaseConnection>::GetBaseFilesDirectory()
|
||||||
|
{
|
||||||
|
return DBUpdater<PlayerbotsDatabaseConnection>::GetSourceDirectory() + "/data/sql/playerbots/base/";
|
||||||
|
}
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
bool DBUpdater<PlayerbotsDatabaseConnection>::IsEnabled(uint32 const updateMask)
|
bool DBUpdater<PlayerbotsDatabaseConnection>::IsEnabled(uint32 const updateMask)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user