diff options
| author | Shauren <shauren.trinity@gmail.com> | 2014-11-04 00:01:09 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2014-11-04 00:01:09 +0100 |
| commit | 4e61b416d8331082257c470b14578876a2d72e26 (patch) | |
| tree | af4d9e292b4a1e852224428ef10f3288c1bf04f1 /src/server/game/Handlers/AddonHandler.h | |
| parent | 7256c7c2c76aa07409d129c5dcab208ab93dbd46 (diff) | |
Core/PacketIO: Enabled SMSG_ADDON_INFO and SMSG_ACCOUNT_DATA_TIMES
Diffstat (limited to 'src/server/game/Handlers/AddonHandler.h')
| -rw-r--r-- | src/server/game/Handlers/AddonHandler.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/server/game/Handlers/AddonHandler.h b/src/server/game/Handlers/AddonHandler.h deleted file mode 100644 index c60f2942efd..00000000000 --- a/src/server/game/Handlers/AddonHandler.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/> - * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/> - * - * 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 <http://www.gnu.org/licenses/>. - */ - -#ifndef __ADDONHANDLER_H -#define __ADDONHANDLER_H - -#include "Common.h" -#include "Config.h" -#include "WorldPacket.h" - -class AddonHandler -{ - public: - static AddonHandler* instance() - { - static AddonHandler instance; - return &instance; - } - - bool BuildAddonPacket(WorldPacket* Source, WorldPacket* Target); - - private: - AddonHandler() { } - ~AddonHandler() { } -}; -#define sAddOnHandler AddonHandler::instance() -#endif - |
