TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::Trade::SetTradeCurrency Class Referencefinal

#include <TradePackets.h>

Public Member Functions

 SetTradeCurrency (WorldPacket &&packet)
 
void Read () override
 
- Public Member Functions inherited from WorldPackets::ClientPacket
 ClientPacket (WorldPacket &&packet)
 
 ClientPacket (OpcodeClient expectedOpcode, WorldPacket &&packet)
 
WorldPacket constWrite () overridefinal
 
OpcodeClient GetOpcode () const
 
- Public Member Functions inherited from WorldPackets::Packet
 Packet (WorldPacket &&worldPacket)
 
virtual ~Packet ()=default
 
 Packet (Packet const &right)=delete
 
Packetoperator= (Packet const &right)=delete
 
WorldPacket constGetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Public Attributes

uint32 Type = 0
 
uint32 Quantity = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Trade::SetTradeCurrency::SetTradeCurrency ( WorldPacket &&  packet)
inline
92 : ClientPacket(CMSG_SET_TRADE_CURRENCY, std::move(packet)) { }
Definition: Opcodes.h:639
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Trade::SetTradeCurrency::Read ( )
overridevirtual

Implements WorldPackets::Packet.

36 {
38 }
WorldPacket _worldPacket
Definition: Packet.h:43
uint32 Quantity
Definition: TradePackets.h:97
Type
Type of JSON value.
Definition: rapidjson.h:642

Member Data Documentation

uint32 WorldPackets::Trade::SetTradeCurrency::Quantity = 0
uint32 WorldPackets::Trade::SetTradeCurrency::Type = 0

The documentation for this class was generated from the following files: