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

#include <VoidStoragePackets.h>

Public Member Functions

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

ObjectGuid Npc
 
ObjectGuid VoidItemGuid
 
uint32 DstSlot = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::VoidStorage::SwapVoidItem::SwapVoidItem ( WorldPacket &&  packet)
inline
112 : ClientPacket(CMSG_SWAP_VOID_ITEM, std::move(packet)) { }
Definition: Opcodes.h:668
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::VoidStorage::SwapVoidItem::Read ( )
overridevirtual

Implements WorldPackets::Packet.

96 {
97  _worldPacket >> Npc;
100 }
WorldPacket _worldPacket
Definition: Packet.h:43
uint32 DstSlot
Definition: VoidStoragePackets.h:118
ObjectGuid VoidItemGuid
Definition: VoidStoragePackets.h:117
ObjectGuid Npc
Definition: VoidStoragePackets.h:116

Member Data Documentation

uint32 WorldPackets::VoidStorage::SwapVoidItem::DstSlot = 0
ObjectGuid WorldPackets::VoidStorage::SwapVoidItem::Npc
ObjectGuid WorldPackets::VoidStorage::SwapVoidItem::VoidItemGuid

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