refactor(src/server/game/*): remove unused imports (big part 2) (#20311)

This commit is contained in:
Francesco Borzì
2024-10-27 05:06:14 +01:00
committed by GitHub
parent 18d37f38be
commit 2c344fc127
18 changed files with 4 additions and 21 deletions

View File

@@ -30,7 +30,6 @@
#include "LFGGroupData.h"
#include "LFGPlayerData.h"
#include "LFGQueue.h"
#include "LFGScripts.h"
#include "Language.h"
#include "ObjectMgr.h"
#include "Opcodes.h"

View File

@@ -23,7 +23,6 @@
#include "InstanceScript.h"
#include "LFGMgr.h"
#include "Log.h"
#include "ObjectDefines.h"
#include "ObjectMgr.h"
#include "Player.h"
#include "World.h"

View File

@@ -20,7 +20,6 @@
#include "Common.h"
#include "G3D/Vector3.h"
#include <cmath>
class ByteBuffer;

View File

@@ -54,6 +54,8 @@
#include <boost/algorithm/string.hpp>
#include <numeric>
#include "ItemEnchantmentMgr.h"
ScriptMapMap sSpellScripts;
ScriptMapMap sEventScripts;
ScriptMapMap sWaypointScripts;

View File

@@ -29,15 +29,11 @@
#include "MapMgr.h"
#include "ObjectMgr.h"
#include "Opcodes.h"
#include "Pet.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "SharedDefines.h"
#include "SocialMgr.h"
#include "SpellAuras.h"
#include "UpdateFieldFlags.h"
#include "Util.h"
#include "Vehicle.h"
#include "World.h"
#include "WorldPacket.h"
#include "WorldSession.h"

View File

@@ -22,11 +22,9 @@
#include "ObjectMgr.h"
#include "Optional.h"
#include "Player.h"
#include "World.h"
#include "WorldPacket.h"
#include <set>
#include <unordered_map>
#include <unordered_set>
class Item;

View File

@@ -25,7 +25,6 @@
#include "ScriptMgr.h"
#include "SpellInfo.h"
#include "SpellMgr.h"
#include "UpdateData.h"
#include "WorldPacket.h"
#include "WorldSession.h"
#include <cmath>

View File

@@ -45,7 +45,6 @@
#include "ScriptMgr.h"
#include "SocialMgr.h"
#include "Spell.h"
#include "UpdateData.h"
#include "Vehicle.h"
#include "WhoListCacheMgr.h"
#include "World.h"

View File

@@ -18,11 +18,9 @@
#ifndef ACORE_LOOTITEMSTORAGE_H
#define ACORE_LOOTITEMSTORAGE_H
#include "Common.h"
#include "Item.h"
#include "LootMgr.h"
#include <list>
#include <map>
struct StoredLootItem
{

View File

@@ -19,6 +19,7 @@
#include "Containers.h"
#include "DisableMgr.h"
#include "Group.h"
#include "ItemEnchantmentMgr.h"
#include "Log.h"
#include "ObjectMgr.h"
#include "Player.h"

View File

@@ -20,7 +20,6 @@
#include "ByteBuffer.h"
#include "ConditionMgr.h"
#include "ItemEnchantmentMgr.h"
#include "ObjectGuid.h"
#include "RefMgr.h"
#include "SharedDefines.h"

View File

@@ -22,7 +22,6 @@
#include "DatabaseEnvFwd.h"
#include "ObjectGuid.h"
#include <map>
#include <utility>
struct AuctionEntry;
struct CalendarEvent;

View File

@@ -20,8 +20,6 @@
#include "AuctionHouseMgr.h"
#include <mutex>
class AuctionListOwnerItemsDelayEvent : public BasicEvent
{
public:

View File

@@ -18,7 +18,6 @@
#ifndef _GAMEGRAVEYARD_H_
#define _GAMEGRAVEYARD_H_
#include "Common.h"
#include "Player.h"
#include "SharedDefines.h"
#include <map>

View File

@@ -19,7 +19,6 @@
#define OUTDOOR_PVP_H_
#include "SharedDefines.h"
#include "Util.h"
#include "ZoneScript.h"
#include <array>

View File

@@ -21,7 +21,6 @@
#define OUTDOORPVP_OBJECTIVE_UPDATE_INTERVAL 1000
#include "OutdoorPvP.h"
#include <memory>
class Player;
class GameObject;

View File

@@ -18,7 +18,6 @@
#ifndef _PETITIONMGR_H
#define _PETITIONMGR_H
#include "Common.h"
#include "ObjectGuid.h"
#include <map>

View File

@@ -31,6 +31,7 @@ EndScriptData */
#include "CreatureTextMgr.h"
#include "DisableMgr.h"
#include "GameGraveyard.h"
#include "ItemEnchantmentMgr.h"
#include "LFGMgr.h"
#include "Language.h"
#include "MapMgr.h"