From f5e6661c3cef8bfd0a46738b0db07794d348bec0 Mon Sep 17 00:00:00 2001 From: Winfidonarleyan Date: Sat, 23 Oct 2021 23:20:03 +0700 Subject: [PATCH] feat(EOL): correct EOL --- src/AoeLoot.cpp | 40 +++++++++++----------- src/AoeLoot.h | 42 ++++++++++++------------ src/AoeLoot_SC.cpp | 82 +++++++++++++++++++++++----------------------- 3 files changed, 82 insertions(+), 82 deletions(-) diff --git a/src/AoeLoot.cpp b/src/AoeLoot.cpp index 5ad13f2..a34ad80 100644 --- a/src/AoeLoot.cpp +++ b/src/AoeLoot.cpp @@ -1,20 +1,20 @@ -/* - * This file is part of the AzerothCore Project. See AUTHORS file for Copyright information - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation; either version 2 of the License, or (at your - * option) any later version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along - * with this program. If not, see . - */ - -#include "AoeLoot.h" -#include "Log.h" -#include "Config.h" +/* + * This file is part of the AzerothCore Project. See AUTHORS file for Copyright information + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ + +#include "AoeLoot.h" +#include "Log.h" +#include "Config.h" diff --git a/src/AoeLoot.h b/src/AoeLoot.h index f740bed..1486e38 100644 --- a/src/AoeLoot.h +++ b/src/AoeLoot.h @@ -1,21 +1,21 @@ -/* - * This file is part of the AzerothCore Project. See AUTHORS file for Copyright information - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation; either version 2 of the License, or (at your - * option) any later version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along - * with this program. If not, see . - */ - -#ifndef _AOE_LOOT_H_ -#define _AOE_LOOT_H_ - -#endif /* _AOE_LOOT_H_ */ +/* + * This file is part of the AzerothCore Project. See AUTHORS file for Copyright information + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ + +#ifndef _AOE_LOOT_H_ +#define _AOE_LOOT_H_ + +#endif /* _AOE_LOOT_H_ */ diff --git a/src/AoeLoot_SC.cpp b/src/AoeLoot_SC.cpp index ac51928..226790e 100644 --- a/src/AoeLoot_SC.cpp +++ b/src/AoeLoot_SC.cpp @@ -1,41 +1,41 @@ -/* - * This file is part of the AzerothCore Project. See AUTHORS file for Copyright information - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation; either version 2 of the License, or (at your - * option) any later version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along - * with this program. If not, see . - */ - -#include "AoeLoot.h" -#include "Log.h" -#include "ScriptMgr.h" -#include "Config.h" -#include "Chat.h" -#include "Player.h" -#include "ScriptedGossip.h" - -class AoeLoot_World : public WorldScript -{ -public: - AoeLoot_World() : WorldScript("AoeLoot_World") { } - - void OnAfterConfigLoad(bool /*reload*/) override - { - // Add conigs options configiration - } -}; - -// Group all custom scripts -void AddSC_AoeLoot() -{ - new AoeLoot_World(); -} +/* + * This file is part of the AzerothCore Project. See AUTHORS file for Copyright information + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ + +#include "AoeLoot.h" +#include "Log.h" +#include "ScriptMgr.h" +#include "Config.h" +#include "Chat.h" +#include "Player.h" +#include "ScriptedGossip.h" + +class AoeLoot_World : public WorldScript +{ +public: + AoeLoot_World() : WorldScript("AoeLoot_World") { } + + void OnAfterConfigLoad(bool /*reload*/) override + { + // Add conigs options configiration + } +}; + +// Group all custom scripts +void AddSC_AoeLoot() +{ + new AoeLoot_World(); +}