refactor(src/server/game/*): remove unused imports (big part 3) (#20315)

This commit is contained in:
Francesco Borzì
2024-10-27 13:10:28 +01:00
committed by GitHub
parent b793cf1a89
commit 2ce2c8cf3a
18 changed files with 5 additions and 17 deletions
-1
View File
@@ -16,7 +16,6 @@
*/ */
#include "GuardAI.h" #include "GuardAI.h"
#include "CreatureAIImpl.h"
#include "Player.h" #include "Player.h"
int32 GuardAI::Permissible(Creature const* creature) int32 GuardAI::Permissible(Creature const* creature)
@@ -33,7 +33,6 @@
#include "LootMgr.h" #include "LootMgr.h"
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "Opcodes.h" #include "Opcodes.h"
#include "OutdoorPvPMgr.h"
#include "Pet.h" #include "Pet.h"
#include "Player.h" #include "Player.h"
#include "PoolMgr.h" #include "PoolMgr.h"
@@ -23,7 +23,6 @@
#include "Common.h" #include "Common.h"
#include "CreatureData.h" #include "CreatureData.h"
#include "DatabaseEnv.h" #include "DatabaseEnv.h"
#include "ItemTemplate.h"
#include "LootMgr.h" #include "LootMgr.h"
#include "Unit.h" #include "Unit.h"
#include "World.h" #include "World.h"
-1
View File
@@ -17,7 +17,6 @@
#include "Item.h" #include "Item.h"
#include "Common.h" #include "Common.h"
#include "ConditionMgr.h"
#include "DatabaseEnv.h" #include "DatabaseEnv.h"
#include "GameTime.h" #include "GameTime.h"
#include "ItemEnchantmentMgr.h" #include "ItemEnchantmentMgr.h"
@@ -22,7 +22,6 @@
#include "Battlefield.h" #include "Battlefield.h"
#include "Battleground.h" #include "Battleground.h"
#include "BattlegroundMgr.h" #include "BattlegroundMgr.h"
#include "Channel.h"
#include "CharacterDatabaseCleaner.h" #include "CharacterDatabaseCleaner.h"
#include "Chat.h" #include "Chat.h"
#include "Common.h" #include "Common.h"
@@ -46,7 +45,6 @@
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "Opcodes.h" #include "Opcodes.h"
#include "OutdoorPvP.h" #include "OutdoorPvP.h"
#include "OutdoorPvPMgr.h"
#include "Pet.h" #include "Pet.h"
#include "Player.h" #include "Player.h"
#include "QueryHolder.h" #include "QueryHolder.h"
-1
View File
@@ -20,7 +20,6 @@
#include "Bag.h" #include "Bag.h"
#include "ConditionMgr.h" #include "ConditionMgr.h"
#include "Corpse.h"
#include "Creature.h" #include "Creature.h"
#include "DatabaseEnv.h" #include "DatabaseEnv.h"
#include "GameObject.h" #include "GameObject.h"
+2
View File
@@ -52,6 +52,8 @@
#include "WorldSession.h" #include "WorldSession.h"
#include <zlib.h> #include <zlib.h>
#include "Corpse.h"
void WorldSession::HandleRepopRequestOpcode(WorldPacket& recv_data) void WorldSession::HandleRepopRequestOpcode(WorldPacket& recv_data)
{ {
LOG_DEBUG("network", "WORLD: Recvd CMSG_REPOP_REQUEST Message"); LOG_DEBUG("network", "WORLD: Recvd CMSG_REPOP_REQUEST Message");
-1
View File
@@ -27,7 +27,6 @@
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "Player.h" #include "Player.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "Unit.h"
#include "World.h" #include "World.h"
MailSender::MailSender(Object* sender, MailStationery stationery) : m_stationery(stationery) MailSender::MailSender(Object* sender, MailStationery stationery) : m_stationery(stationery)
-2
View File
@@ -31,10 +31,8 @@
#include "LFGMgr.h" #include "LFGMgr.h"
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "PetDefines.h" #include "PetDefines.h"
#include "QuestDef.h"
#include "SharedDefines.h" #include "SharedDefines.h"
#include "Tuples.h" #include "Tuples.h"
#include "Types.h"
#include "Weather.h" #include "Weather.h"
#include "World.h" #include "World.h"
#include <atomic> #include <atomic>
-1
View File
@@ -20,7 +20,6 @@
#include "DatabaseEnvFwd.h" #include "DatabaseEnvFwd.h"
#include "ScriptObjectFwd.h" #include "ScriptObjectFwd.h"
#include <string_view>
//#include "Duration.h" //#include "Duration.h"
//#include "LFG.h" //#include "LFG.h"
-1
View File
@@ -19,7 +19,6 @@
#define _WORLDPACKET_H_ #define _WORLDPACKET_H_
#include "ByteBuffer.h" #include "ByteBuffer.h"
#include "Common.h"
#include "Duration.h" #include "Duration.h"
#include "Opcodes.h" #include "Opcodes.h"
-1
View File
@@ -43,7 +43,6 @@
#include "QueryHolder.h" #include "QueryHolder.h"
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "SocialMgr.h" #include "SocialMgr.h"
#include "Tokenize.h"
#include "Transport.h" #include "Transport.h"
#include "Vehicle.h" #include "Vehicle.h"
#include "WardenWin.h" #include "WardenWin.h"
+2
View File
@@ -33,6 +33,8 @@
#include "zlib.h" #include "zlib.h"
#include <memory> #include <memory>
#include "ServerPktHeader.h"
using boost::asio::ip::tcp; using boost::asio::ip::tcp;
void compressBuff(void* dst, uint32* dst_size, void* src, int src_size) void compressBuff(void* dst, uint32* dst_size, void* src, int src_size)
-1
View File
@@ -21,7 +21,6 @@
#include "AuthCrypt.h" #include "AuthCrypt.h"
#include "Common.h" #include "Common.h"
#include "MPSCQueue.h" #include "MPSCQueue.h"
#include "ServerPktHeader.h"
#include "Socket.h" #include "Socket.h"
#include "Util.h" #include "Util.h"
#include "WorldPacket.h" #include "WorldPacket.h"
+1
View File
@@ -18,6 +18,7 @@
#include "SpellInfo.h" #include "SpellInfo.h"
#include "Chat.h" #include "Chat.h"
#include "ConditionMgr.h" #include "ConditionMgr.h"
#include "Corpse.h"
#include "DBCStores.h" #include "DBCStores.h"
#include "LootMgr.h" #include "LootMgr.h"
#include "Player.h" #include "Player.h"
-1
View File
@@ -21,7 +21,6 @@
#include "Creature.h" #include "Creature.h"
#include "GridNotifiers.h" #include "GridNotifiers.h"
#include "ObjectAccessor.h" #include "ObjectAccessor.h"
#include "Opcodes.h"
#include "SharedDefines.h" #include "SharedDefines.h"
#include "WorldSession.h" #include "WorldSession.h"
-1
View File
@@ -19,7 +19,6 @@
#define _PLAYER_DUMP_H #define _PLAYER_DUMP_H
#include "ObjectGuid.h" #include "ObjectGuid.h"
#include <iosfwd>
#include <map> #include <map>
#include <set> #include <set>
#include <string> #include <string>
-1
View File
@@ -22,7 +22,6 @@
#ifndef __WEATHER_H #ifndef __WEATHER_H
#define __WEATHER_H #define __WEATHER_H
#include "Common.h"
#include "SharedDefines.h" #include "SharedDefines.h"
#include "Timer.h" #include "Timer.h"