TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
TokenPackets.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 TokenPackets_h__
19 #define TokenPackets_h__
20 
21 #include "Packet.h"
22 
23 namespace WorldPackets
24 {
25  namespace Token
26  {
28  {
29  public:
31 
32  void Read() override;
33 
35  };
36 
38  {
39  public:
41 
42  WorldPacket const* Write() override;
43 
45  {
51  };
52 
53  uint32 UnkInt = 0; // send CMSG_UPDATE_WOW_TOKEN_AUCTIONABLE_LIST
55  std::vector<AuctionableTokenAuctionable> AuctionableTokenAuctionableList;
56  };
57 
59  {
60  public:
62 
63  void Read() override;
64 
66  };
67 
69  {
70  public:
72 
73  WorldPacket const* Write() override;
74 
76  uint32 UnkInt = 0; // send CMSG_REQUEST_WOW_TOKEN_MARKET_PRICE
79  };
80  }
81 }
82 
83 #endif // TokenPackets_h__
Definition: Opcodes.h:1634
STL namespace.
uint32 UnkInt
Definition: TokenPackets.h:76
uint32 UnkInt
Definition: TokenPackets.h:34
WorldPacket const * Write() override
Definition: TokenPackets.cpp:25
Definition: Packet.h:59
void Read() override
Definition: TokenPackets.cpp:20
Definition: Packet.h:46
UpdateListedAuctionableTokensResponse()
Definition: TokenPackets.h:40
WorldPacket const * Write() override
Definition: TokenPackets.cpp:47
uint32_t uint32
Definition: Define.h:150
uint64_t uint64
Definition: Define.h:149
uint64 CurrentMarketPrice
Definition: TokenPackets.h:75
Definition: BattlegroundMgr.h:57
UpdateListedAuctionableTokens(WorldPacket &&packet)
Definition: TokenPackets.h:30
std::vector< AuctionableTokenAuctionable > AuctionableTokenAuctionableList
Definition: TokenPackets.h:55
uint32 UnkInt
Definition: TokenPackets.h:65
Definition: Opcodes.h:582
WowTokenMarketPriceResponse()
Definition: TokenPackets.h:71
uint32 UnkInt2
Definition: TokenPackets.h:78
Definition: WorldPacket.h:26
uint32 Result
Definition: TokenPackets.h:77
RequestWowTokenMarketPrice(WorldPacket &&packet)
Definition: TokenPackets.h:61
void Read() override
Definition: TokenPackets.cpp:42