mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
refactor(src/server/apps|database|shared): remove unused imports (#19505)
This commit is contained in:
@@ -19,7 +19,6 @@
|
|||||||
#define _AUTHCODES_H
|
#define _AUTHCODES_H
|
||||||
|
|
||||||
#include "Define.h"
|
#include "Define.h"
|
||||||
#include <array>
|
|
||||||
|
|
||||||
enum AuthResult
|
enum AuthResult
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -30,7 +30,6 @@
|
|||||||
#include "DatabaseEnv.h"
|
#include "DatabaseEnv.h"
|
||||||
#include "DatabaseLoader.h"
|
#include "DatabaseLoader.h"
|
||||||
#include "DeadlineTimer.h"
|
#include "DeadlineTimer.h"
|
||||||
#include "GitRevision.h"
|
|
||||||
#include "IPLocation.h"
|
#include "IPLocation.h"
|
||||||
#include "IoContext.h"
|
#include "IoContext.h"
|
||||||
#include "Log.h"
|
#include "Log.h"
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
#include "CryptoHash.h"
|
#include "CryptoHash.h"
|
||||||
#include "CryptoRandom.h"
|
#include "CryptoRandom.h"
|
||||||
#include "DatabaseEnv.h"
|
#include "DatabaseEnv.h"
|
||||||
#include "Errors.h"
|
|
||||||
#include "IPLocation.h"
|
#include "IPLocation.h"
|
||||||
#include "Log.h"
|
#include "Log.h"
|
||||||
#include "RealmList.h"
|
#include "RealmList.h"
|
||||||
|
|||||||
@@ -28,7 +28,6 @@
|
|||||||
#include "SRP6.h"
|
#include "SRP6.h"
|
||||||
#include "Socket.h"
|
#include "Socket.h"
|
||||||
#include <boost/asio/ip/tcp.hpp>
|
#include <boost/asio/ip/tcp.hpp>
|
||||||
#include <memory>
|
|
||||||
|
|
||||||
using boost::asio::ip::tcp;
|
using boost::asio::ip::tcp;
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,6 @@
|
|||||||
|
|
||||||
#include "Define.h"
|
#include "Define.h"
|
||||||
#include <future>
|
#include <future>
|
||||||
#include <mutex>
|
|
||||||
|
|
||||||
void process_message(struct soap* soap_message);
|
void process_message(struct soap* soap_message);
|
||||||
void ACSoapThread(const std::string& host, uint16 port);
|
void ACSoapThread(const std::string& host, uint16 port);
|
||||||
|
|||||||
@@ -18,11 +18,9 @@
|
|||||||
#ifndef __RASESSION_H__
|
#ifndef __RASESSION_H__
|
||||||
#define __RASESSION_H__
|
#define __RASESSION_H__
|
||||||
|
|
||||||
#include "Common.h"
|
|
||||||
#include <boost/asio/ip/tcp.hpp>
|
#include <boost/asio/ip/tcp.hpp>
|
||||||
#include <boost/asio/streambuf.hpp>
|
#include <boost/asio/streambuf.hpp>
|
||||||
#include <future>
|
#include <future>
|
||||||
#include <memory>
|
|
||||||
|
|
||||||
using boost::asio::ip::tcp;
|
using boost::asio::ip::tcp;
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "AdhocStatement.h"
|
#include "AdhocStatement.h"
|
||||||
#include "Errors.h"
|
|
||||||
#include "MySQLConnection.h"
|
#include "MySQLConnection.h"
|
||||||
#include "QueryResult.h"
|
#include "QueryResult.h"
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,6 @@
|
|||||||
#include "Implementation/LoginDatabase.h"
|
#include "Implementation/LoginDatabase.h"
|
||||||
#include "Implementation/WorldDatabase.h"
|
#include "Implementation/WorldDatabase.h"
|
||||||
|
|
||||||
#include "Field.h"
|
|
||||||
#include "PreparedStatement.h"
|
#include "PreparedStatement.h"
|
||||||
#include "QueryCallback.h"
|
#include "QueryCallback.h"
|
||||||
#include "QueryResult.h"
|
#include "QueryResult.h"
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
#define DatabaseEnvFwd_h__
|
#define DatabaseEnvFwd_h__
|
||||||
|
|
||||||
#include <future>
|
#include <future>
|
||||||
#include <memory>
|
|
||||||
|
|
||||||
struct QueryResultFieldMetadata;
|
struct QueryResultFieldMetadata;
|
||||||
class Field;
|
class Field;
|
||||||
|
|||||||
@@ -20,7 +20,6 @@
|
|||||||
#include "Log.h"
|
#include "Log.h"
|
||||||
#include "MySQLHacks.h"
|
#include "MySQLHacks.h"
|
||||||
#include "StringConvert.h"
|
#include "StringConvert.h"
|
||||||
#include "Types.h"
|
|
||||||
|
|
||||||
Field::Field()
|
Field::Field()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -18,7 +18,6 @@
|
|||||||
#ifndef _FIELD_H
|
#ifndef _FIELD_H
|
||||||
#define _FIELD_H
|
#define _FIELD_H
|
||||||
|
|
||||||
#include "DatabaseEnvFwd.h"
|
|
||||||
#include "Define.h"
|
#include "Define.h"
|
||||||
#include "Duration.h"
|
#include "Duration.h"
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|||||||
@@ -20,7 +20,6 @@
|
|||||||
#include "Log.h"
|
#include "Log.h"
|
||||||
#include "MySQLHacks.h"
|
#include "MySQLHacks.h"
|
||||||
#include "MySQLPreparedStatement.h"
|
#include "MySQLPreparedStatement.h"
|
||||||
#include "MySQLWorkaround.h"
|
|
||||||
#include "PreparedStatement.h"
|
#include "PreparedStatement.h"
|
||||||
#include "QueryResult.h"
|
#include "QueryResult.h"
|
||||||
#include "StringConvert.h"
|
#include "StringConvert.h"
|
||||||
|
|||||||
@@ -21,7 +21,6 @@
|
|||||||
#include "DatabaseEnvFwd.h"
|
#include "DatabaseEnvFwd.h"
|
||||||
#include "Define.h"
|
#include "Define.h"
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <memory>
|
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
#include "Errors.h"
|
#include "Errors.h"
|
||||||
#include "Log.h"
|
#include "Log.h"
|
||||||
#include "MySQLConnection.h"
|
#include "MySQLConnection.h"
|
||||||
#include "MySQLPreparedStatement.h"
|
|
||||||
#include "MySQLWorkaround.h"
|
#include "MySQLWorkaround.h"
|
||||||
#include "QueryResult.h"
|
#include "QueryResult.h"
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,6 @@
|
|||||||
|
|
||||||
#include "Define.h"
|
#include "Define.h"
|
||||||
#include "Duration.h"
|
#include "Duration.h"
|
||||||
#include "Optional.h"
|
|
||||||
#include "SQLOperation.h"
|
#include "SQLOperation.h"
|
||||||
#include <future>
|
#include <future>
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
|
|||||||
@@ -24,7 +24,6 @@
|
|||||||
#include <future>
|
#include <future>
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <queue>
|
#include <queue>
|
||||||
#include <utility>
|
|
||||||
|
|
||||||
class AC_DATABASE_API QueryCallback
|
class AC_DATABASE_API QueryCallback
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -24,7 +24,6 @@
|
|||||||
#include "StringFormat.h"
|
#include "StringFormat.h"
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include <utility>
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
/*! Transactions, high level class. */
|
/*! Transactions, high level class. */
|
||||||
|
|||||||
@@ -20,7 +20,6 @@
|
|||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
#include "DatabaseEnv.h"
|
#include "DatabaseEnv.h"
|
||||||
#include "DatabaseLoader.h"
|
#include "DatabaseLoader.h"
|
||||||
#include "GitRevision.h"
|
|
||||||
#include "Log.h"
|
#include "Log.h"
|
||||||
#include "StartProcess.h"
|
#include "StartProcess.h"
|
||||||
#include "UpdateFetcher.h"
|
#include "UpdateFetcher.h"
|
||||||
|
|||||||
@@ -25,6 +25,8 @@
|
|||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
|
#include "QueryResult.h"
|
||||||
|
|
||||||
using namespace std::filesystem;
|
using namespace std::filesystem;
|
||||||
|
|
||||||
struct UpdateFetcher::DirectoryEntry
|
struct UpdateFetcher::DirectoryEntry
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
#define SCRIPT_OBJECT_PLAYER_SCRIPT_H_
|
#define SCRIPT_OBJECT_PLAYER_SCRIPT_H_
|
||||||
|
|
||||||
#include "ScriptObject.h"
|
#include "ScriptObject.h"
|
||||||
|
#include "SharedDefines.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
// TODO to remove
|
// TODO to remove
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
#include "DBCDatabaseLoader.h"
|
#include "DBCDatabaseLoader.h"
|
||||||
#include "DatabaseEnv.h"
|
#include "DatabaseEnv.h"
|
||||||
#include "Errors.h"
|
#include "Errors.h"
|
||||||
|
#include "QueryResult.h"
|
||||||
#include "StringFormat.h"
|
#include "StringFormat.h"
|
||||||
|
|
||||||
DBCDatabaseLoader::DBCDatabaseLoader(char const* tableName, char const* dbcFormatString, std::vector<char*>& stringPool)
|
DBCDatabaseLoader::DBCDatabaseLoader(char const* tableName, char const* dbcFormatString, std::vector<char*>& stringPool)
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
#define DBCDatabaseLoader_h__
|
#define DBCDatabaseLoader_h__
|
||||||
|
|
||||||
#include "DBCFileLoader.h"
|
#include "DBCFileLoader.h"
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
struct DBCDatabaseLoader
|
struct DBCDatabaseLoader
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
#define DBCStorageIterator_h__
|
#define DBCStorageIterator_h__
|
||||||
|
|
||||||
#include "Define.h"
|
#include "Define.h"
|
||||||
#include <iterator>
|
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
class DBCStorageIterator
|
class DBCStorageIterator
|
||||||
|
|||||||
@@ -20,7 +20,6 @@
|
|||||||
|
|
||||||
#include "DBCEnums.h"
|
#include "DBCEnums.h"
|
||||||
#include "Define.h"
|
#include "Define.h"
|
||||||
#include "SharedDefines.h"
|
|
||||||
#include "Util.h"
|
#include "Util.h"
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|||||||
@@ -16,7 +16,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Realm.h"
|
#include "Realm.h"
|
||||||
#include "IpAddress.h"
|
|
||||||
#include "IpNetwork.h"
|
#include "IpNetwork.h"
|
||||||
#include <boost/asio/ip/tcp.hpp>
|
#include <boost/asio/ip/tcp.hpp>
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,6 @@
|
|||||||
#include "Realm.h"
|
#include "Realm.h"
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <unordered_set>
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
struct RealmBuildInfo
|
struct RealmBuildInfo
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
#include "DatabaseEnv.h"
|
#include "DatabaseEnv.h"
|
||||||
#include "Errors.h"
|
#include "Errors.h"
|
||||||
#include "Log.h"
|
#include "Log.h"
|
||||||
|
#include "QueryResult.h"
|
||||||
#include "SharedDefines.h"
|
#include "SharedDefines.h"
|
||||||
|
|
||||||
#define SECRET_FLAG_FOR(key, val, server) server ## _ ## key = (val ## ull << (16*SERVER_PROCESS_ ## server))
|
#define SECRET_FLAG_FOR(key, val, server) server ## _ ## key = (val ## ull << (16*SERVER_PROCESS_ ## server))
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
#define __ACORE_SECRETMGR_H__
|
#define __ACORE_SECRETMGR_H__
|
||||||
|
|
||||||
#include "BigNumber.h"
|
#include "BigNumber.h"
|
||||||
#include "Common.h"
|
|
||||||
#include "Log.h"
|
#include "Log.h"
|
||||||
#include "Optional.h"
|
#include "Optional.h"
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|||||||
Reference in New Issue
Block a user