diff options
| author | DDuarte <dnpd.dd@gmail.com> | 2014-11-10 05:08:29 +0000 |
|---|---|---|
| committer | DDuarte <dnpd.dd@gmail.com> | 2014-11-10 05:08:29 +0000 |
| commit | 4552e6a67249f3c6791723ad1ef6d4921abb2d17 (patch) | |
| tree | 61d267584fec24cf4b8fc7c7b9f8f9e3f74fb3e9 /src/server/game/Server/Packets | |
| parent | 6586cae13c680dd7c41e4a1339418112fd7c8877 (diff) | |
Core/Packets: CMSG_CANCEL_TRADE handler
Diffstat (limited to 'src/server/game/Server/Packets')
| -rw-r--r-- | src/server/game/Server/Packets/TradePackets.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/server/game/Server/Packets/TradePackets.h b/src/server/game/Server/Packets/TradePackets.h new file mode 100644 index 00000000000..e63a22eaebc --- /dev/null +++ b/src/server/game/Server/Packets/TradePackets.h @@ -0,0 +1,37 @@ +/* +* Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/> +* +* 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 TradePackets_h__ +#define TradePackets_h__ + +#include "Packet.h" + +namespace WorldPackets +{ + namespace Trade + { + class CancelTrade final : public ClientPacket + { + public: + CancelTrade(WorldPacket&& packet) : ClientPacket(CMSG_CANCEL_TRADE, std::move(packet) { } + + void Read() override { } + }; + } +} + +#endif // TradePackets_h__ |
