refactor(Scripts/Northrend): remove unused imports (#19460)

* refactor(Scripts/Northrend): remove unused imports

* chore: wip
This commit is contained in:
Francesco Borzì
2024-07-27 00:56:33 +02:00
committed by GitHub
parent 17d61664fd
commit af769c6c7e
51 changed files with 50 additions and 47 deletions

View File

@@ -16,11 +16,11 @@
*/
#include "AchievementCriteriaScript.h"
#include "CellImpl.h"
#include "CombatAI.h"
#include "CreatureScript.h"
#include "GameObjectScript.h"
#include "GridNotifiers.h"
#include "Opcodes.h"
#include "PassiveAI.h"
#include "Player.h"
#include "ScriptedCreature.h"
@@ -33,6 +33,12 @@
#include "Vehicle.h"
#include "ulduar.h"
/// @todo: this import is not necessary for compilation and marked as unused by the IDE
// however, for some reasons removing it would cause a damn linking issue
// there is probably some underlying problem with imports which should properly addressed
// see: https://github.com/azerothcore/azerothcore-wotlk/issues/9766
#include "GridNotifiersImpl.h"
enum LeviathanSpells
{
// Leviathan basic

View File

@@ -19,7 +19,6 @@
#include "CreatureAI.h"
#include "CreatureScript.h"
#include "Object.h"
#include "Opcodes.h"
#include "PassiveAI.h"
#include "Player.h"
#include "ScriptedCreature.h"

View File

@@ -19,7 +19,6 @@
#include "AreaTriggerScript.h"
#include "CombatAI.h"
#include "CreatureScript.h"
#include "GameObjectScript.h"
#include "PassiveAI.h"
#include "Player.h"
#include "ScriptedCreature.h"

View File

@@ -18,11 +18,8 @@
#ifndef DEF_ULDUAR_H
#define DEF_ULDUAR_H
#include "CellImpl.h"
#include "Chat.h"
#include "CreatureAIImpl.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#define DataHeader "UU"