refactor(Scripts/Commands): remove unused imports (#19340)

* refactor(Scripts/Commands): remove unused imports

* chore: fix build

* chore: revert unwanted change
This commit is contained in:
Francesco Borzì
2024-07-09 19:17:06 +02:00
committed by GitHub
parent ee4d728573
commit 4040f93f85
19 changed files with 1 additions and 22 deletions

View File

@@ -19,7 +19,6 @@
#define _PLAYER_COMMAND_H
#include "Chat.h"
#include "Common.h"
class Player;
class SpellInfo;

View File

@@ -22,7 +22,6 @@ Comment: All achievement related commands
Category: commandscripts
EndScriptData */
#include "AchievementMgr.h"
#include "Chat.h"
#include "CommandScript.h"
#include "Player.h"

View File

@@ -38,10 +38,8 @@
#include "ObjectMgr.h"
#include "PoolMgr.h"
#include "ScriptMgr.h"
#include "SpellMgr.h"
#include "Transport.h"
#include "Warden.h"
#include "World.h"
#include <fstream>
#include <set>

View File

@@ -22,7 +22,6 @@ Comment: All disable related commands
Category: commandscripts
EndScriptData */
#include "AchievementMgr.h"
#include "Chat.h"
#include "CommandScript.h"
#include "DisableMgr.h"

View File

@@ -27,7 +27,6 @@
#include "GameEventMgr.h"
#include "GameTime.h"
#include "Language.h"
#include "Player.h"
#include "Timer.h"
using namespace Acore::ChatCommands;

View File

@@ -18,7 +18,6 @@
#include "Chat.h"
#include "CommandScript.h"
#include "Language.h"
#include "Log.h"
#include "Player.h"
#include "WorldSession.h"

View File

@@ -23,7 +23,6 @@
#include "Language.h"
#include "MapMgr.h"
#include "ObjectMgr.h"
#include "Opcodes.h"
#include "Player.h"
#include "PoolMgr.h"
#include "Transport.h"

View File

@@ -17,7 +17,6 @@
#include "Chat.h"
#include "CommandScript.h"
#include "DatabaseEnv.h"
#include "GroupMgr.h"
#include "Language.h"
#include "Player.h"

View File

@@ -25,12 +25,10 @@
#include "Chat.h"
#include "CommandScript.h"
#include "GameTime.h"
#include "Group.h"
#include "InstanceSaveMgr.h"
#include "InstanceScript.h"
#include "Language.h"
#include "MapMgr.h"
#include "ObjectAccessor.h"
#include "Player.h"
using namespace Acore::ChatCommands;

View File

@@ -17,7 +17,6 @@
#include "Chat.h"
#include "CommandScript.h"
#include "DatabaseEnv.h"
#include "Group.h"
#include "LFGMgr.h"
#include "Language.h"

View File

@@ -30,7 +30,6 @@ EndScriptData */
#include "GameObject.h"
#include "Language.h"
#include "MapMgr.h"
#include "ObjectAccessor.h"
#include "ObjectMgr.h"
#include "Player.h"
#include "Random.h"

View File

@@ -22,7 +22,6 @@ Comment: All lookup related commands
Category: commandscripts
EndScriptData */
#include "AccountMgr.h"
#include "CharacterCache.h"
#include "Chat.h"
#include "CommandScript.h"

View File

@@ -36,7 +36,6 @@
#include "MiscPackets.h"
#include "MovementGenerator.h"
#include "ObjectAccessor.h"
#include "Opcodes.h"
#include "Pet.h"
#include "Player.h"
#include "Realm.h"

View File

@@ -30,10 +30,8 @@
#include "GridNotifiersImpl.h"
#include "MMapFactory.h"
#include "Map.h"
#include "ObjectMgr.h"
#include "PathGenerator.h"
#include "Player.h"
#include "PointMovementGenerator.h"
#include "TargetedMovementGenerator.h"
using namespace Acore::ChatCommands;

View File

@@ -22,7 +22,6 @@ Comment: All modify related commands
Category: commandscripts
EndScriptData */
#include "AccountMgr.h"
#include "Chat.h"
#include "CommandScript.h"
#include "ObjectMgr.h"

View File

@@ -26,7 +26,6 @@ EndScriptData */
#include "Chat.h"
#include "CommandScript.h"
#include "Language.h"
#include "ObjectAccessor.h"
#include "Pet.h"
#include "Player.h"
#include "ScriptMgr.h"

View File

@@ -26,10 +26,10 @@
#include "CommandScript.h"
#include "GameTime.h"
#include "GitRevision.h"
#include "Log.h"
#include "ModuleMgr.h"
#include "MotdMgr.h"
#include "MySQLThreading.h"
#include "Player.h"
#include "Realm.h"
#include "StringConvert.h"
#include "UpdateTime.h"

View File

@@ -15,7 +15,6 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "AccountMgr.h"
#include "ArenaSpectator.h"
#include "BattlegroundMgr.h"
#include "Chat.h"

View File

@@ -24,7 +24,6 @@ EndScriptData */
#include "Chat.h"
#include "CommandScript.h"
#include "ObjectMgr.h"
#include "Player.h"
#include "WaypointMgr.h"