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

#include <VoidStoragePackets.h>

Public Member Functions

 VoidItemSwapResponse ()
 
WorldPacket constWrite () override
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
 
void Read () overridefinal
 
void Clear ()
 
WorldPacket && Move ()
 
OpcodeServer 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 VoidItemA
 
ObjectGuid VoidItemB
 
uint32 VoidItemSlotA = 0
 
uint32 VoidItemSlotB = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::VoidStorage::VoidItemSwapResponse::VoidItemSwapResponse ( )
inline
124 : ServerPacket(SMSG_VOID_ITEM_SWAP_RESPONSE, 16 + 16 + 4 + 4) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1616

Member Function Documentation

WorldPacket const * WorldPackets::VoidStorage::VoidItemSwapResponse::Write ( )
overridevirtual

Implements WorldPackets::Packet.

103 {
106  return &_worldPacket;
107 }
uint32 VoidItemSlotA
Definition: VoidStoragePackets.h:130
uint32 VoidItemSlotB
Definition: VoidStoragePackets.h:131
WorldPacket _worldPacket
Definition: Packet.h:43
ObjectGuid VoidItemB
Definition: VoidStoragePackets.h:129
ObjectGuid VoidItemA
Definition: VoidStoragePackets.h:128
uint32_t uint32
Definition: g3dmath.h:168

+ Here is the caller graph for this function:

Member Data Documentation

ObjectGuid WorldPackets::VoidStorage::VoidItemSwapResponse::VoidItemA
ObjectGuid WorldPackets::VoidStorage::VoidItemSwapResponse::VoidItemB
uint32 WorldPackets::VoidStorage::VoidItemSwapResponse::VoidItemSlotA = 0
uint32 WorldPackets::VoidStorage::VoidItemSwapResponse::VoidItemSlotB = 0

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