diff options
| author | Ovahlord <dreadkiller@gmx.de> | 2024-06-25 20:20:09 +0200 |
|---|---|---|
| committer | Ovahlord <dreadkiller@gmx.de> | 2024-06-25 20:20:09 +0200 |
| commit | 166aec66ba80e01a9a861727e69d2dda73779262 (patch) | |
| tree | 4d5d0a881a3854c74fe5a34658db743a3f487042 /src/server/game/Handlers/GarrisonHandler.cpp | |
| parent | dc67de6b1b921856e30c53d368a584438d99f677 (diff) | |
Core/Misc: dropped several db2 storages which are empty/unused in classic and removed many unused opcode handlers and packet classes
Diffstat (limited to 'src/server/game/Handlers/GarrisonHandler.cpp')
| -rw-r--r-- | src/server/game/Handlers/GarrisonHandler.cpp | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/server/game/Handlers/GarrisonHandler.cpp b/src/server/game/Handlers/GarrisonHandler.cpp deleted file mode 100644 index 6670cf3fefa..00000000000 --- a/src/server/game/Handlers/GarrisonHandler.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/* - * This file is part of the TrinityCore 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 <http://www.gnu.org/licenses/>. - */ - -#include "WorldSession.h" -#include "GarrisonPackets.h" -#include "Player.h" - -void WorldSession::HandleGetGarrisonInfo(WorldPackets::Garrison::GetGarrisonInfo& /*getGarrisonInfo*/) -{ -} - -void WorldSession::HandleGarrisonPurchaseBuilding(WorldPackets::Garrison::GarrisonPurchaseBuilding& garrisonPurchaseBuilding) -{ - if (!_player->GetNPCIfCanInteractWith(garrisonPurchaseBuilding.NpcGUID, UNIT_NPC_FLAG_NONE, UNIT_NPC_FLAG_2_GARRISON_ARCHITECT)) - return; -} - -void WorldSession::HandleGarrisonCancelConstruction(WorldPackets::Garrison::GarrisonCancelConstruction& garrisonCancelConstruction) -{ - if (!_player->GetNPCIfCanInteractWith(garrisonCancelConstruction.NpcGUID, UNIT_NPC_FLAG_NONE, UNIT_NPC_FLAG_2_GARRISON_ARCHITECT)) - return; -} - -void WorldSession::HandleGarrisonRequestBlueprintAndSpecializationData(WorldPackets::Garrison::GarrisonRequestBlueprintAndSpecializationData& /*garrisonRequestBlueprintAndSpecializationData*/) -{ -} - -void WorldSession::HandleGarrisonGetMapData(WorldPackets::Garrison::GarrisonGetMapData& /*garrisonGetMapData*/) -{ -} |
