chore(Core/Misc): #include cleanup (#19255)

This commit is contained in:
Kitzunu
2024-07-02 15:52:02 +02:00
committed by GitHub
parent 47ad691c92
commit 5a4692e45a
35 changed files with 40 additions and 40 deletions
@@ -19,8 +19,8 @@
#define AuthSocketMgr_h__ #define AuthSocketMgr_h__
#include "AuthSession.h" #include "AuthSession.h"
#include "SocketMgr.h"
#include "Config.h" #include "Config.h"
#include "SocketMgr.h"
class AuthSocketMgr : public SocketMgr<AuthSession> class AuthSocketMgr : public SocketMgr<AuthSession>
{ {
+1 -1
View File
@@ -36,7 +36,6 @@
#include "LFGMgr.h" #include "LFGMgr.h"
#include "Log.h" #include "Log.h"
#include "MapMgr.h" #include "MapMgr.h"
#include <numeric>
#include "Pet.h" #include "Pet.h"
#include "PoolMgr.h" #include "PoolMgr.h"
#include "ReputationMgr.h" #include "ReputationMgr.h"
@@ -53,6 +52,7 @@
#include "Vehicle.h" #include "Vehicle.h"
#include "World.h" #include "World.h"
#include <boost/algorithm/string.hpp> #include <boost/algorithm/string.hpp>
#include <numeric>
ScriptMapMap sSpellScripts; ScriptMapMap sSpellScripts;
ScriptMapMap sEventScripts; ScriptMapMap sEventScripts;
+1 -1
View File
@@ -17,8 +17,8 @@
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "AllScriptsObjects.h" #include "AllScriptsObjects.h"
#include "LFGScripts.h"
#include "InstanceScript.h" #include "InstanceScript.h"
#include "LFGScripts.h"
#include "ScriptObject.h" #include "ScriptObject.h"
#include "ScriptSystem.h" #include "ScriptSystem.h"
#include "SmartAI.h" #include "SmartAI.h"
+1 -1
View File
@@ -30,8 +30,8 @@
#include "ScriptMgr.h" #include "ScriptMgr.h"
#include "World.h" #include "World.h"
#include "WorldSession.h" #include "WorldSession.h"
#include <memory>
#include "zlib.h" #include "zlib.h"
#include <memory>
using boost::asio::ip::tcp; using boost::asio::ip::tcp;
+1 -1
View File
@@ -31,9 +31,9 @@ EndScriptData */
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "Player.h" #include "Player.h"
#include "ReputationMgr.h" #include "ReputationMgr.h"
#include "SharedDefines.h"
#include "SpellInfo.h" #include "SpellInfo.h"
#include "SpellMgr.h" #include "SpellMgr.h"
#include "SharedDefines.h"
using namespace Acore::ChatCommands; using namespace Acore::ChatCommands;
@@ -15,12 +15,12 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "molten_core.h"
#include "CreatureScript.h" #include "CreatureScript.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "SpellScriptLoader.h" #include "SpellScriptLoader.h"
#include "TaskScheduler.h" #include "TaskScheduler.h"
#include "molten_core.h"
enum Texts enum Texts
{ {
@@ -17,10 +17,10 @@
#include "CreatureScript.h" #include "CreatureScript.h"
#include "GameObjectScript.h" #include "GameObjectScript.h"
#include "PassiveAI.h"
#include "Player.h" #include "Player.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "TaskScheduler.h" #include "TaskScheduler.h"
#include "PassiveAI.h"
#include "karazhan.h" #include "karazhan.h"
enum Spells enum Spells
@@ -15,6 +15,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "karazhan.h"
#include "AreaTriggerScript.h" #include "AreaTriggerScript.h"
#include "CreatureScript.h" #include "CreatureScript.h"
#include "Player.h" #include "Player.h"
@@ -25,7 +26,6 @@
#include "SpellAuras.h" #include "SpellAuras.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "SpellScriptLoader.h" #include "SpellScriptLoader.h"
#include "karazhan.h"
/* ScriptData /* ScriptData
SDName: Karazhan SDName: Karazhan
SD%Complete: 100 SD%Complete: 100
@@ -16,6 +16,7 @@
*/ */
#include "CreatureScript.h" #include "CreatureScript.h"
#include "GridNotifiersImpl.h"
#include "Group.h" #include "Group.h"
#include "LFGMgr.h" #include "LFGMgr.h"
#include "Player.h" #include "Player.h"
@@ -26,7 +27,6 @@
#include "SpellScriptLoader.h" #include "SpellScriptLoader.h"
#include "TaskScheduler.h" #include "TaskScheduler.h"
#include "shadowfang_keep.h" #include "shadowfang_keep.h"
#include "GridNotifiersImpl.h"
enum ApothecarySpells enum ApothecarySpells
{ {
@@ -15,13 +15,13 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "hyjal.h"
#include "CreatureScript.h" #include "CreatureScript.h"
#include "Player.h" #include "Player.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "SpellScriptLoader.h" #include "SpellScriptLoader.h"
#include "hyjal.h"
enum Spells enum Spells
{ {
@@ -15,12 +15,12 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "the_black_morass.h"
#include "CreatureScript.h" #include "CreatureScript.h"
#include "MoveSplineInit.h" #include "MoveSplineInit.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SmartAI.h" #include "SmartAI.h"
#include "SpellScriptLoader.h" #include "SpellScriptLoader.h"
#include "the_black_morass.h"
enum medivhMisc enum medivhMisc
{ {
@@ -15,11 +15,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "ruins_of_ahnqiraj.h"
#include "CreatureScript.h" #include "CreatureScript.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "SpellScriptLoader.h" #include "SpellScriptLoader.h"
#include "ruins_of_ahnqiraj.h"
enum Spells enum Spells
{ {
@@ -15,6 +15,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "temple_of_ahnqiraj.h"
#include "AreaTriggerScript.h" #include "AreaTriggerScript.h"
#include "CreatureScript.h" #include "CreatureScript.h"
#include "MapReference.h" #include "MapReference.h"
@@ -22,7 +23,6 @@
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "SpellScriptLoader.h" #include "SpellScriptLoader.h"
#include "temple_of_ahnqiraj.h"
enum Spells enum Spells
{ {
@@ -17,12 +17,12 @@
#include "CreatureScript.h" #include "CreatureScript.h"
#include "GridNotifiers.h" #include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "InstanceMapScript.h" #include "InstanceMapScript.h"
#include "InstanceScript.h" #include "InstanceScript.h"
#include "SpellScriptLoader.h" #include "SpellScriptLoader.h"
#include "TemporarySummon.h" #include "TemporarySummon.h"
#include "zulfarrak.h" #include "zulfarrak.h"
#include "GridNotifiersImpl.h"
enum Misc enum Misc
{ {
@@ -15,13 +15,13 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "forge_of_souls.h"
#include "CreatureScript.h" #include "CreatureScript.h"
#include "Player.h" #include "Player.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "SpellScriptLoader.h" #include "SpellScriptLoader.h"
#include "forge_of_souls.h"
enum Yells enum Yells
{ {
@@ -15,11 +15,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "halls_of_reflection.h"
#include "AreaTriggerScript.h" #include "AreaTriggerScript.h"
#include "CreatureScript.h" #include "CreatureScript.h"
#include "MotionMaster.h" #include "MotionMaster.h"
#include "SpellScriptLoader.h" #include "SpellScriptLoader.h"
#include "halls_of_reflection.h"
enum Events enum Events
{ {
@@ -15,6 +15,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "pit_of_saron.h"
#include "AreaTriggerScript.h" #include "AreaTriggerScript.h"
#include "CreatureGroups.h" #include "CreatureGroups.h"
#include "CreatureScript.h" #include "CreatureScript.h"
@@ -26,7 +27,6 @@
#include "SpellAuraEffects.h" #include "SpellAuraEffects.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "SpellScriptLoader.h" #include "SpellScriptLoader.h"
#include "pit_of_saron.h"
class npc_pos_leader : public CreatureScript class npc_pos_leader : public CreatureScript
{ {
@@ -16,9 +16,9 @@
*/ */
#include "AchievementCriteriaScript.h" #include "AchievementCriteriaScript.h"
#include "Config.h"
#include "CreatureScript.h" #include "CreatureScript.h"
#include "CreatureTextMgr.h" #include "CreatureTextMgr.h"
#include "Config.h"
#include "GameTime.h" #include "GameTime.h"
#include "MoveSpline.h" #include "MoveSpline.h"
#include "MoveSplineInit.h" #include "MoveSplineInit.h"
@@ -20,12 +20,12 @@
#include "CellImpl.h" #include "CellImpl.h"
#include "CreatureScript.h" #include "CreatureScript.h"
#include "GridNotifiers.h" #include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellAuraEffects.h" #include "SpellAuraEffects.h"
#include "SpellScriptLoader.h" #include "SpellScriptLoader.h"
#include "icecrown_citadel.h" #include "icecrown_citadel.h"
#include "GridNotifiersImpl.h"
enum Texts enum Texts
{ {
@@ -15,12 +15,14 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "icecrown_citadel.h"
#include "AccountMgr.h" #include "AccountMgr.h"
#include "AreaTriggerScript.h" #include "AreaTriggerScript.h"
#include "Cell.h" #include "Cell.h"
#include "CellImpl.h" #include "CellImpl.h"
#include "CreatureScript.h" #include "CreatureScript.h"
#include "GridNotifiers.h" #include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "Group.h" #include "Group.h"
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "PassiveAI.h" #include "PassiveAI.h"
@@ -29,8 +31,6 @@
#include "SmartAI.h" #include "SmartAI.h"
#include "SpellAuraEffects.h" #include "SpellAuraEffects.h"
#include "SpellScriptLoader.h" #include "SpellScriptLoader.h"
#include "icecrown_citadel.h"
#include "GridNotifiersImpl.h"
enum Texts enum Texts
{ {
@@ -16,8 +16,8 @@
*/ */
#include "CreatureScript.h" #include "CreatureScript.h"
#include "Player.h"
#include "PassiveAI.h" #include "PassiveAI.h"
#include "Player.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellAuraEffects.h" #include "SpellAuraEffects.h"
#include "SpellScript.h" #include "SpellScript.h"
@@ -15,6 +15,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "oculus.h"
#include "CombatAI.h" #include "CombatAI.h"
#include "CreatureScript.h" #include "CreatureScript.h"
#include "InstanceScript.h" #include "InstanceScript.h"
@@ -27,7 +28,6 @@
#include "SpellScript.h" #include "SpellScript.h"
#include "SpellScriptLoader.h" #include "SpellScriptLoader.h"
#include "Vehicle.h" #include "Vehicle.h"
#include "oculus.h"
#include <unordered_map> #include <unordered_map>
enum Drakes enum Drakes
@@ -15,20 +15,20 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "ulduar.h"
#include "AreaTriggerScript.h" #include "AreaTriggerScript.h"
#include "CombatAI.h" #include "CombatAI.h"
#include "CreatureScript.h" #include "CreatureScript.h"
#include "GameObjectScript.h" #include "GameObjectScript.h"
#include "PassiveAI.h"
#include "Player.h" #include "Player.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "PassiveAI.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "SpellAuraEffects.h" #include "SpellAuraEffects.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "SpellScriptLoader.h" #include "SpellScriptLoader.h"
#include "TaskScheduler.h" #include "TaskScheduler.h"
#include "Vehicle.h" #include "Vehicle.h"
#include "ulduar.h"
enum Texts enum Texts
{ {
@@ -15,12 +15,12 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "utgarde_keep.h"
#include "CreatureScript.h" #include "CreatureScript.h"
#include "GameObjectAI.h" #include "GameObjectAI.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellScriptLoader.h" #include "SpellScriptLoader.h"
#include "Vehicle.h" #include "Vehicle.h"
#include "utgarde_keep.h"
class npc_dragonflayer_forge_master : public CreatureScript class npc_dragonflayer_forge_master : public CreatureScript
{ {
@@ -15,11 +15,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "utgarde_pinnacle.h"
#include "SpellInfo.h" #include "SpellInfo.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "SpellScriptLoader.h" #include "SpellScriptLoader.h"
#include "Unit.h" #include "Unit.h"
#include "utgarde_pinnacle.h"
enum UtgardeSpells enum UtgardeSpells
{ {
@@ -15,6 +15,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "violet_hold.h"
#include "CreatureScript.h" #include "CreatureScript.h"
#include "GameObjectScript.h" #include "GameObjectScript.h"
#include "PassiveAI.h" #include "PassiveAI.h"
@@ -24,7 +25,6 @@
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "SpellScriptLoader.h" #include "SpellScriptLoader.h"
#include "violet_hold.h"
/// @todo: Missing Sinclari Trigger announcements (32204) Look at its creature_text for more info. /// @todo: Missing Sinclari Trigger announcements (32204) Look at its creature_text for more info.
/// @todo: Activation Crystals (go_vh_activation_crystal) (193611) are spammable, should be a 1 time use per crystal. /// @todo: Activation Crystals (go_vh_activation_crystal) (193611) are spammable, should be a 1 time use per crystal.
@@ -16,8 +16,8 @@
*/ */
#include "CreatureScript.h" #include "CreatureScript.h"
#include "Player.h"
#include "MoveSplineInit.h" #include "MoveSplineInit.h"
#include "Player.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "World.h" #include "World.h"
@@ -22,6 +22,7 @@
#include "CreatureScript.h" #include "CreatureScript.h"
#include "CreatureTextMgr.h" #include "CreatureTextMgr.h"
#include "GameObjectScript.h" #include "GameObjectScript.h"
#include "GridNotifiersImpl.h"
#include "PassiveAI.h" #include "PassiveAI.h"
#include "Player.h" #include "Player.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
@@ -30,7 +31,6 @@
#include "SpellScript.h" #include "SpellScript.h"
#include "SpellScriptLoader.h" #include "SpellScriptLoader.h"
#include "Vehicle.h" #include "Vehicle.h"
#include "GridNotifiersImpl.h"
// Ours // Ours
/******** /********
@@ -17,15 +17,15 @@
#include "OutdoorPvPNA.h" #include "OutdoorPvPNA.h"
#include "CreatureScript.h" #include "CreatureScript.h"
#include "GridNotifiers.h"
#include "ScriptedCreature.h"
#include "GameGraveyard.h" #include "GameGraveyard.h"
#include "GridNotifiers.h"
#include "Language.h" #include "Language.h"
#include "MapMgr.h" #include "MapMgr.h"
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "OutdoorPvPMgr.h" #include "OutdoorPvPMgr.h"
#include "OutdoorPvPScript.h" #include "OutdoorPvPScript.h"
#include "Player.h" #include "Player.h"
#include "ScriptedCreature.h"
#include "World.h" #include "World.h"
#include "WorldPacket.h" #include "WorldPacket.h"
@@ -19,10 +19,10 @@
#include "InstanceMapScript.h" #include "InstanceMapScript.h"
#include "InstanceScript.h" #include "InstanceScript.h"
#include "Player.h" #include "Player.h"
#include "ScriptedCreature.h"
#include "SpellScriptLoader.h" #include "SpellScriptLoader.h"
#include "TemporarySummon.h" #include "TemporarySummon.h"
#include "serpent_shrine.h" #include "serpent_shrine.h"
#include "ScriptedCreature.h"
DoorData const doorData[] = DoorData const doorData[] =
{ {
@@ -15,13 +15,12 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "CreatureScript.h"
#include "GameObjectScript.h"
#include "ScriptMgr.h"
#include "Containers.h" #include "Containers.h"
#include "CreatureScript.h"
#include "CreatureTextMgr.h" #include "CreatureTextMgr.h"
#include "GameObject.h" #include "GameObject.h"
#include "GameObjectAI.h" #include "GameObjectAI.h"
#include "GameObjectScript.h"
#include "Group.h" #include "Group.h"
#include "InstanceScript.h" #include "InstanceScript.h"
#include "LFGMgr.h" #include "LFGMgr.h"
@@ -30,6 +29,7 @@
#include "ObjectAccessor.h" #include "ObjectAccessor.h"
#include "PassiveAI.h" #include "PassiveAI.h"
#include "Player.h" #include "Player.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "ScriptedGossip.h" #include "ScriptedGossip.h"
#include "SpellAuraEffects.h" #include "SpellAuraEffects.h"
@@ -15,13 +15,13 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <cmath>
#include "CreatureScript.h" #include "CreatureScript.h"
#include "MoveSplineInit.h" #include "MoveSplineInit.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellScriptLoader.h" #include "SpellScriptLoader.h"
#include "WaypointMgr.h" #include "WaypointMgr.h"
#include "the_eye.h" #include "the_eye.h"
#include <cmath>
enum Spells enum Spells
{ {
@@ -15,10 +15,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "arcatraz.h"
#include "CreatureScript.h" #include "CreatureScript.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellScriptLoader.h" #include "SpellScriptLoader.h"
#include "arcatraz.h"
enum MillhouseSays enum MillhouseSays
{ {
+1 -1
View File
@@ -20,10 +20,10 @@
#include "DeadlineTimer.h" #include "DeadlineTimer.h"
#include "Define.h" #include "Define.h"
#include "Socket.h"
#include "Errors.h" #include "Errors.h"
#include "IoContext.h" #include "IoContext.h"
#include "Log.h" #include "Log.h"
#include "Socket.h"
#include "Timer.h" #include "Timer.h"
#include <atomic> #include <atomic>
#include <boost/asio/ip/tcp.hpp> #include <boost/asio/ip/tcp.hpp>
+1 -1
View File
@@ -21,8 +21,8 @@
#include "Log.h" #include "Log.h"
#include "MessageBuffer.h" #include "MessageBuffer.h"
#include <atomic> #include <atomic>
#include <boost/asio/ip/tcp.hpp>
#include <boost/asio.hpp> #include <boost/asio.hpp>
#include <boost/asio/ip/tcp.hpp>
#include <functional> #include <functional>
#include <memory> #include <memory>
#include <queue> #include <queue>