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

#include <TradePackets.h>

Public Member Functions

 SetTradeItem (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

uint8 TradeSlot = 0
 
uint8 PackSlot = 0
 
uint8 ItemSlotInPack = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Trade::SetTradeItem::SetTradeItem ( WorldPacket &&  packet)
inline
113 : ClientPacket(CMSG_SET_TRADE_ITEM, std::move(packet)) { }
Definition: Opcodes.h:641
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

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

Implements WorldPackets::Packet.

46 {
48 }
uint8 PackSlot
Definition: TradePackets.h:118
WorldPacket _worldPacket
Definition: Packet.h:43
uint8 TradeSlot
Definition: TradePackets.h:117
uint8 ItemSlotInPack
Definition: TradePackets.h:119

Member Data Documentation

uint8 WorldPackets::Trade::SetTradeItem::ItemSlotInPack = 0
uint8 WorldPackets::Trade::SetTradeItem::PackSlot = 0
uint8 WorldPackets::Trade::SetTradeItem::TradeSlot = 0

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