TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
BlackMarketPackets.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
3  *
4  * This program is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU General Public License as published by the
6  * Free Software Foundation; either version 2 of the License, or (at your
7  * option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12  * more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef BlackMarketPackets_h__
19 #define BlackMarketPackets_h__
20 
21 #include "Packet.h"
22 #include "ObjectGuid.h"
23 #include "WorldSession.h"
24 
25 namespace WorldPackets
26 {
27  namespace BlackMarket
28  {
29  class BlackMarketOpen final : public ClientPacket
30  {
31  public:
33 
34  void Read() override;
35 
37  };
38 
39  class BlackMarketOpenResult final : public ServerPacket
40  {
41  public:
43 
44  WorldPacket const* Write() override;
45 
47  bool Enable = true;
48  };
49  }
50 }
51 #endif // BlackMarketPackets_h__
bool Enable
Definition: BlackMarketPackets.h:47
WorldPacket const * Write() override
Definition: BlackMarketPackets.cpp:25
Definition: BlackMarketPackets.h:39
Definition: BlackMarketPackets.h:29
Definition: Opcodes.h:834
void Read() override
Definition: BlackMarketPackets.cpp:20
STL namespace.
ObjectGuid Guid
Definition: BlackMarketPackets.h:46
Definition: Packet.h:59
Definition: Opcodes.h:116
Definition: Packet.h:46
Definition: BattlegroundMgr.h:57
BlackMarketOpen(WorldPacket &&packet)
Definition: BlackMarketPackets.h:32
Definition: ObjectGuid.h:189
BlackMarketOpenResult()
Definition: BlackMarketPackets.h:42
Definition: WorldPacket.h:26
ObjectGuid Guid
Definition: BlackMarketPackets.h:36