mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
refactor(src/common|server): remove unused import (big part 1) (#20377)
* refactor(src/common|server): remove unused import (big part 1) * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: attempt to fix damn linkin error
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
|
||||
#include "DBCFileLoader.h"
|
||||
#include "Errors.h"
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
DBCFileLoader::DBCFileLoader() : recordSize(0), recordCount(0), fieldCount(0), stringSize(0), fieldsOffset(nullptr), data(nullptr), stringTable(nullptr) { }
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
|
||||
#include "Dynamic/TypeList.h"
|
||||
#include "GridRefMgr.h"
|
||||
#include <map>
|
||||
#include <unordered_map>
|
||||
|
||||
/*
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#include "Define.h"
|
||||
#include "SmartEnum.h"
|
||||
#include <stdexcept>
|
||||
#include <vector>
|
||||
|
||||
namespace Acore::Impl::EnumUtilsImpl
|
||||
{
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#define MPSCQueue_h__
|
||||
|
||||
#include <atomic>
|
||||
#include <memory>
|
||||
|
||||
namespace Acore::Impl
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
#include "Define.h"
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
|
||||
namespace ByteConverter
|
||||
{
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#ifndef IteratorPair_h__
|
||||
#define IteratorPair_h__
|
||||
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
namespace Acore
|
||||
{
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
|
||||
#include "SFMTRand.h"
|
||||
#include "Timer.h"
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <functional>
|
||||
#include <random>
|
||||
|
||||
#if defined(__aarch64__)
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#define AC_SMARTENUM_H
|
||||
|
||||
#include "IteratorPair.h"
|
||||
#include <iterator>
|
||||
|
||||
struct EnumText
|
||||
{
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "Log.h"
|
||||
#include "StartProcess.h"
|
||||
#include "UpdateFetcher.h"
|
||||
#include "QueryResult.h"
|
||||
#include <filesystem>
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#include "AllScriptsObjects.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "LFGScripts.h"
|
||||
#include "ScriptObject.h"
|
||||
#include "ScriptSystem.h"
|
||||
#include "SmartAI.h"
|
||||
#include "SpellMgr.h"
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#include "BattlegroundIC.h"
|
||||
#include "BattlegroundMgr.h"
|
||||
#include "BattlegroundSA.h"
|
||||
#include "BattlegroundWS.h"
|
||||
#include "CellImpl.h"
|
||||
#include "Chat.h"
|
||||
#include "Common.h"
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include "Channel.h"
|
||||
#include "Chat.h"
|
||||
#include "CommandScript.h"
|
||||
#include "GossipDef.h"
|
||||
#include "GridNotifiersImpl.h"
|
||||
#include "LFGMgr.h"
|
||||
#include "Language.h"
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
#include "ScriptedCreature.h"
|
||||
#include "SpellScript.h"
|
||||
#include "SpellScriptLoader.h"
|
||||
#include "temple_of_ahnqiraj.h"
|
||||
|
||||
enum Spells
|
||||
{
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "SpellAuraEffects.h"
|
||||
#include "SpellScriptLoader.h"
|
||||
#include "icecrown_citadel.h"
|
||||
#include "PassiveAI.h"
|
||||
|
||||
enum Texts
|
||||
{
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "SpellAuras.h"
|
||||
#include "SpellScriptLoader.h"
|
||||
#include "icecrown_citadel.h"
|
||||
#include "SpellAuraEffects.h"
|
||||
#include "SpellMgr.h"
|
||||
|
||||
enum ScriptTexts
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
#include "TransportMgr.h"
|
||||
#include "Vehicle.h"
|
||||
#include "icecrown_citadel.h"
|
||||
#include "PassiveAI.h"
|
||||
#include "SpellAuraEffects.h"
|
||||
|
||||
enum Texts
|
||||
{
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#include "ScriptedCreature.h"
|
||||
#include "SpellScriptLoader.h"
|
||||
#include "icecrown_citadel.h"
|
||||
#include "PassiveAI.h"
|
||||
#include "SpellAuraEffects.h"
|
||||
|
||||
enum Texts
|
||||
{
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
#include "Vehicle.h"
|
||||
#include "Weather.h"
|
||||
#include "icecrown_citadel.h"
|
||||
#include "PassiveAI.h"
|
||||
|
||||
enum Texts
|
||||
{
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "SpellAuraEffects.h"
|
||||
#include "SpellScriptLoader.h"
|
||||
#include "icecrown_citadel.h"
|
||||
#include "PassiveAI.h"
|
||||
|
||||
enum Texts
|
||||
{
|
||||
|
||||
@@ -21,14 +21,9 @@
|
||||
#include "Chat.h"
|
||||
#include "Creature.h"
|
||||
#include "CreatureScript.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "Map.h"
|
||||
#include "PassiveAI.h"
|
||||
#include "Player.h"
|
||||
#include "ScriptedCreature.h"
|
||||
#include "SpellAuraEffects.h"
|
||||
#include "SpellScript.h"
|
||||
#include "SpellScriptLoader.h"
|
||||
|
||||
#define DataHeader "IC"
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include "MapMgr.h"
|
||||
#include "ObjectMgr.h"
|
||||
#include "OutdoorPvP.h"
|
||||
#include "OutdoorPvPMgr.h"
|
||||
#include "OutdoorPvPScript.h"
|
||||
#include "Player.h"
|
||||
#include "World.h"
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
#include "ScriptedGossip.h"
|
||||
#include "SpellAuraEffects.h"
|
||||
#include "SpellInfo.h"
|
||||
#include "SpellMgr.h"
|
||||
#include "SpellScript.h"
|
||||
#include "SpellScriptLoader.h"
|
||||
#include "TemporarySummon.h"
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include "ScriptedCreature.h"
|
||||
#include "ScriptedEscortAI.h"
|
||||
#include "ScriptedGossip.h"
|
||||
#include "TaskScheduler.h"
|
||||
|
||||
/*
|
||||
##################################################
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
|
||||
#include "AccountScript.h"
|
||||
#include "Channel.h"
|
||||
#include "CreatureScript.h"
|
||||
#include "Group.h"
|
||||
#include "Guild.h"
|
||||
#include "PlayerScript.h"
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include "Realm.h"
|
||||
#include "IpNetwork.h"
|
||||
#include <boost/asio/ip/tcp.hpp>
|
||||
#include <memory>
|
||||
|
||||
boost::asio::ip::tcp_endpoint Realm::GetAddressForClient(boost::asio::ip::address const& clientAddr) const
|
||||
{
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
#include "RealmList.h"
|
||||
#include "DatabaseEnv.h"
|
||||
#include "DeadlineTimer.h"
|
||||
#include "IoContext.h"
|
||||
#include "Log.h"
|
||||
#include "Resolver.h"
|
||||
#include "QueryResult.h"
|
||||
#include "Util.h"
|
||||
#include <boost/asio/ip/tcp.hpp>
|
||||
#include <memory>
|
||||
|
||||
RealmList::RealmList() : _updateInterval(0) { }
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#include "Define.h"
|
||||
#include "SmartEnum.h"
|
||||
#include <stdexcept>
|
||||
#include <vector>
|
||||
|
||||
namespace Acore::Impl::EnumUtilsImpl
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user