refactor(Core): sort #includes alphabetically (#4579)

This commit is contained in:
Kitzunu
2021-02-24 22:34:42 +01:00
committed by GitHub
parent 51342ef9b5
commit dbc0ff6554
839 changed files with 3120 additions and 3157 deletions

View File

@@ -3,10 +3,10 @@
*/
#include "Chat.h"
#include "ScriptMgr.h"
#include "Language.h"
#include "Player.h"
#include "PlayerCommand.h"
#include "ScriptMgr.h"
bool PlayerCommand::Learn(ChatHandler* handler, Player* targetPlayer, uint32 spell, char const* all)
{

View File

@@ -11,11 +11,11 @@ Comment: All account related commands
Category: commandscripts
EndScriptData */
#include "ScriptMgr.h"
#include "AccountMgr.h"
#include "Chat.h"
#include "Language.h"
#include "Player.h"
#include "ScriptMgr.h"
class account_commandscript : public CommandScript
{

View File

@@ -11,12 +11,12 @@ Comment: All arena team related commands
Category: commandscripts
EndScriptData */
#include "ScriptMgr.h"
#include "ArenaTeamMgr.h"
#include "Chat.h"
#include "Language.h"
#include "ObjectMgr.h"
#include "Player.h"
#include "ScriptMgr.h"
class arena_commandscript : public CommandScript
{

View File

@@ -12,13 +12,13 @@ Category: commandscripts
EndScriptData */
#include "AccountMgr.h"
#include "BanManager.h"
#include "Chat.h"
#include "Language.h"
#include "ObjectAccessor.h"
#include "ObjectMgr.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "BanManager.h"
/// Ban function modes
enum BanMode

View File

@@ -11,9 +11,9 @@ Comment: All bf related commands
Category: commandscripts
EndScriptData */
#include "ScriptMgr.h"
#include "Chat.h"
#include "BattlefieldMgr.h"
#include "Chat.h"
#include "ScriptMgr.h"
class bf_commandscript : public CommandScript
{

View File

@@ -11,11 +11,11 @@ Comment: All cast related commands
Category: commandscripts
EndScriptData */
#include "ScriptMgr.h"
#include "Chat.h"
#include "Creature.h"
#include "Language.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "SpellInfo.h"
class cast_commandscript : public CommandScript

View File

@@ -13,12 +13,12 @@ EndScriptData */
#include "AccountMgr.h"
#include "Chat.h"
#include "Implementation/CharacterDatabase.h"
#include "ObjectMgr.h"
#include "PlayerDump.h"
#include "Player.h"
#include "PlayerDump.h"
#include "ReputationMgr.h"
#include "ScriptMgr.h"
#include "Implementation/CharacterDatabase.h"
class character_commandscript : public CommandScript
{

View File

@@ -11,17 +11,16 @@ Comment: All debug related commands
Category: commandscripts
EndScriptData */
#include "ScriptMgr.h"
#include "ObjectMgr.h"
#include "BattlegroundMgr.h"
#include "Chat.h"
#include "Cell.h"
#include "CellImpl.h"
#include "Chat.h"
#include "GossipDef.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "GossipDef.h"
#include "Language.h"
#include "ObjectMgr.h"
#include "ScriptMgr.h"
#include <fstream>
class debug_commandscript : public CommandScript

View File

@@ -5,11 +5,11 @@
*/
#include "Chat.h"
#include "Player.h"
#include "Language.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "SpellAuras.h"
#include "SpellAuraEffects.h"
#include "SpellAuras.h"
enum Spells
{

View File

@@ -11,9 +11,9 @@ Comment: All disable related commands
Category: commandscripts
EndScriptData */
#include "DisableMgr.h"
#include "AchievementMgr.h"
#include "Chat.h"
#include "DisableMgr.h"
#include "Language.h"
#include "ObjectMgr.h"
#include "OutdoorPvP.h"

View File

@@ -11,14 +11,14 @@ Comment: All gm related commands
Category: commandscripts
EndScriptData */
#include "ScriptMgr.h"
#include "ObjectMgr.h"
#include "Chat.h"
#include "AccountMgr.h"
#include "Chat.h"
#include "Language.h"
#include "World.h"
#include "Player.h"
#include "ObjectMgr.h"
#include "Opcodes.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "World.h"
class gm_commandscript : public CommandScript
{

View File

@@ -11,14 +11,14 @@ Comment: All go related commands
Category: commandscripts
EndScriptData */
#include "ScriptMgr.h"
#include "ObjectMgr.h"
#include "MapManager.h"
#include "TicketMgr.h"
#include "Chat.h"
#include "Language.h"
#include "Player.h"
#include "GameGraveyard.h"
#include "Language.h"
#include "MapManager.h"
#include "ObjectMgr.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "TicketMgr.h"
class go_commandscript : public CommandScript
{

View File

@@ -11,17 +11,17 @@ Comment: All gobject related commands
Category: commandscripts
EndScriptData */
#include "ScriptMgr.h"
#include "GameEventMgr.h"
#include "ObjectMgr.h"
#include "PoolMgr.h"
#include "MapManager.h"
#include "Chat.h"
#include "Language.h"
#include "Player.h"
#include "Opcodes.h"
#include "Transport.h"
#include "GameEventMgr.h"
#include "GameObject.h"
#include "Language.h"
#include "MapManager.h"
#include "ObjectMgr.h"
#include "Opcodes.h"
#include "Player.h"
#include "PoolMgr.h"
#include "ScriptMgr.h"
#include "Transport.h"
class gobject_commandscript : public CommandScript
{

View File

@@ -12,9 +12,9 @@ Category: commandscripts
EndScriptData */
#include "Chat.h"
#include "Language.h"
#include "Guild.h"
#include "GuildMgr.h"
#include "Language.h"
#include "ObjectAccessor.h"
#include "ScriptMgr.h"

View File

@@ -11,14 +11,14 @@ Comment: All instance related commands
Category: commandscripts
EndScriptData */
#include "ScriptMgr.h"
#include "Chat.h"
#include "Group.h"
#include "InstanceSaveMgr.h"
#include "InstanceScript.h"
#include "Language.h"
#include "MapManager.h"
#include "Player.h"
#include "Language.h"
#include "ScriptMgr.h"
class instance_commandscript : public CommandScript
{

View File

@@ -12,14 +12,14 @@ Category: commandscripts
EndScriptData */
#include "Chat.h"
#include "ScriptMgr.h"
#include "ObjectMgr.h"
#include "Language.h"
#include "SpellMgr.h"
#include "SpellInfo.h"
#include "Player.h"
#include "ObjectMgr.h"
#include "Pet.h"
#include "Player.h"
#include "PlayerCommand.h"
#include "ScriptMgr.h"
#include "SpellInfo.h"
#include "SpellMgr.h"
class learn_commandscript : public CommandScript, public PlayerCommand
{

View File

@@ -4,12 +4,12 @@
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*/
#include "ScriptMgr.h"
#include "Chat.h"
#include "Group.h"
#include "Language.h"
#include "LFGMgr.h"
#include "Group.h"
#include "Player.h"
#include "ScriptMgr.h"
void GetPlayerInfo(ChatHandler* handler, Player* player)
{

View File

@@ -11,13 +11,13 @@ Comment: All list related commands
Category: commandscripts
EndScriptData */
#include "ScriptMgr.h"
#include "Chat.h"
#include "SpellAuraEffects.h"
#include "Language.h"
#include "ObjectAccessor.h"
#include "ObjectMgr.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "SpellAuraEffects.h"
class list_commandscript : public CommandScript
{

View File

@@ -11,11 +11,11 @@ Comment: All message related commands
Category: commandscripts
EndScriptData */
#include "ScriptMgr.h"
#include "Chat.h"
#include "ChannelMgr.h"
#include "Chat.h"
#include "Language.h"
#include "Player.h"
#include "ScriptMgr.h"
class message_commandscript : public CommandScript
{

View File

@@ -4,30 +4,30 @@
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*/
#include "Chat.h"
#include "ScriptMgr.h"
#include "AccountMgr.h"
#include "ace/INET_Addr.h"
#include "ArenaTeamMgr.h"
#include "BattlegroundMgr.h"
#include "CellImpl.h"
#include "Chat.h"
#include "GameGraveyard.h"
#include "GridNotifiers.h"
#include "Group.h"
#include "GroupMgr.h"
#include "GuildMgr.h"
#include "InstanceSaveMgr.h"
#include "Language.h"
#include "LFG.h"
#include "MapManager.h"
#include "MovementGenerator.h"
#include "ObjectAccessor.h"
#include "Opcodes.h"
#include "Pet.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "SpellAuras.h"
#include "TargetedMovementGenerator.h"
#include "WeatherMgr.h"
#include "ace/INET_Addr.h"
#include "Player.h"
#include "Pet.h"
#include "LFG.h"
#include "GroupMgr.h"
#include "BattlegroundMgr.h"
#include "MapManager.h"
#include "GameGraveyard.h"
class misc_commandscript : public CommandScript
{

View File

@@ -23,19 +23,19 @@
* mmap sub-commands
*/
#include "ScriptMgr.h"
#include "CellImpl.h"
#include "Chat.h"
#include "DisableMgr.h"
#include "ObjectMgr.h"
#include "Player.h"
#include "PointMovementGenerator.h"
#include "PathGenerator.h"
#include "MMapFactory.h"
#include "Map.h"
#include "TargetedMovementGenerator.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "CellImpl.h"
#include "Map.h"
#include "MMapFactory.h"
#include "ObjectMgr.h"
#include "PathGenerator.h"
#include "Player.h"
#include "PointMovementGenerator.h"
#include "ScriptMgr.h"
#include "TargetedMovementGenerator.h"
class mmaps_commandscript : public CommandScript
{

View File

@@ -11,6 +11,7 @@ Comment: All modify related commands
Category: commandscripts
EndScriptData */
#include "AccountMgr.h"
#include "Chat.h"
#include "ObjectMgr.h"
#include "Opcodes.h"
@@ -18,7 +19,6 @@ EndScriptData */
#include "Player.h"
#include "ReputationMgr.h"
#include "ScriptMgr.h"
#include "AccountMgr.h"
class modify_commandscript : public CommandScript
{

View File

@@ -11,16 +11,16 @@ Comment: All npc related commands
Category: commandscripts
EndScriptData */
#include "ScriptMgr.h"
#include "ObjectMgr.h"
#include "Chat.h"
#include "Transport.h"
#include "CreatureAI.h"
#include "CreatureGroups.h"
#include "Language.h"
#include "TargetedMovementGenerator.h" // for HandleNpcUnFollowCommand
#include "CreatureAI.h"
#include "Player.h"
#include "ObjectMgr.h"
#include "Pet.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "TargetedMovementGenerator.h" // for HandleNpcUnFollowCommand
#include "Transport.h"
struct NpcFlagText
{

View File

@@ -3,10 +3,10 @@
*/
#include "Chat.h"
#include "ScriptMgr.h"
#include "Language.h"
#include "Player.h"
#include "PlayerCommand.h"
#include "ScriptMgr.h"
class player_commandscript : public CommandScript, public PlayerCommand
{

View File

@@ -17,6 +17,7 @@ EndScriptData */
#include "Chat.h"
#include "CreatureTextMgr.h"
#include "DisableMgr.h"
#include "GameGraveyard.h"
#include "Language.h"
#include "LFGMgr.h"
#include "MapManager.h"
@@ -29,7 +30,6 @@ EndScriptData */
#include "TicketMgr.h"
#include "WardenCheckMgr.h"
#include "WaypointManager.h"
#include "GameGraveyard.h"
class reload_commandscript : public CommandScript
{

View File

@@ -15,8 +15,8 @@ EndScriptData */
#include "Chat.h"
#include "Language.h"
#include "ObjectAccessor.h"
#include "Player.h"
#include "Pet.h"
#include "Player.h"
#include "ScriptMgr.h"
class reset_commandscript : public CommandScript

View File

@@ -11,14 +11,14 @@ Comment: All server related commands
Category: commandscripts
EndScriptData */
#include "AvgDiffTracker.h"
#include "Chat.h"
#include "Config.h"
#include "GitRevision.h"
#include "Language.h"
#include "ObjectAccessor.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "GitRevision.h"
#include "AvgDiffTracker.h"
#include "ServerMotd.h"
class server_commandscript : public CommandScript

View File

@@ -1,14 +1,14 @@
#include "ScriptMgr.h"
#include "ObjectMgr.h"
#include "Chat.h"
#include "AccountMgr.h"
#include "World.h"
#include "Player.h"
#include "Opcodes.h"
#include "ArenaSpectator.h"
#include "LFGMgr.h"
#include "BattlegroundMgr.h"
#include "Chat.h"
#include "LFGMgr.h"
#include "ObjectMgr.h"
#include "Opcodes.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "World.h"
class spectator_commandscript : public CommandScript
{

View File

@@ -17,8 +17,8 @@ EndScriptData */
#include "ObjectMgr.h"
#include "Opcodes.h"
#include "Player.h"
#include "TicketMgr.h"
#include "ScriptMgr.h"
#include "TicketMgr.h"
class ticket_commandscript : public CommandScript
{