Removing SQLStorage class leftovers

This commit is contained in:
leak
2011-04-28 23:03:02 +02:00
parent c51c817a45
commit 6d1924cee8
16 changed files with 0 additions and 495 deletions
-38
View File
@@ -18,8 +18,6 @@
#include "Common.h"
#include "DatabaseEnv.h"
#include "SQLStorage.h"
#include "SQLStorageImpl.h"
#include "Log.h"
#include "MapManager.h"
#include "ObjectMgr.h"
@@ -534,15 +532,6 @@ void ObjectMgr::LoadPointOfInterestLocales()
sLog->outString();
}
struct SQLCreatureLoader : public SQLStorageLoaderBase<SQLCreatureLoader>
{
template<class D>
void convert_from_str(uint32 /*field_pos*/, char *src, D &dst)
{
dst = D(sObjectMgr->GetScriptId(src));
}
};
void ObjectMgr::LoadCreatureTemplates()
{
uint32 oldMSTime = getMSTime();
@@ -2275,15 +2264,6 @@ void ObjectMgr::LoadItemLocales()
sLog->outString();
}
struct SQLItemLoader : public SQLStorageLoaderBase<SQLItemLoader>
{
template<class D>
void convert_from_str(uint32 /*field_pos*/, char *src, D &dst)
{
dst = D(sObjectMgr->GetScriptId(src));
}
};
void ObjectMgr::LoadItemTemplates()
{
uint32 oldMSTime = getMSTime();
@@ -5856,15 +5836,6 @@ void ObjectMgr::LoadPageTextLocales()
sLog->outString();
}
struct SQLInstanceLoader : public SQLStorageLoaderBase<SQLInstanceLoader>
{
template<class D>
void convert_from_str(uint32 /*field_pos*/, char *src, D &dst)
{
dst = D(sObjectMgr->GetScriptId(src));
}
};
void ObjectMgr::LoadInstanceTemplate()
{
uint32 oldMSTime = getMSTime();
@@ -7167,15 +7138,6 @@ void ObjectMgr::LoadGameObjectLocales()
sLog->outString();
}
struct SQLGameObjectLoader : public SQLStorageLoaderBase<SQLGameObjectLoader>
{
template<class D>
void convert_from_str(uint32 /*field_pos*/, char *src, D &dst)
{
dst = D(sObjectMgr->GetScriptId(src));
}
};
inline void CheckGOLockId(GameObjectTemplate* goInfo,uint32 dataN,uint32 N)
{
if (sLockStore.LookupEntry(dataN))
-1
View File
@@ -36,7 +36,6 @@
#include "ObjectAccessor.h"
#include "ObjectDefines.h"
#include <ace/Singleton.h>
#include "SQLStorage.h"
#include "Vehicle.h"
#include <string>
#include <map>