All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::Item::SocketGems Class Referencefinal

#include <ItemPackets.h>

Public Member Functions

 SocketGems (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 ItemGuid
ObjectGuid GemItem [MAX_GEM_SOCKETS]

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket

Constructor & Destructor Documentation

WorldPackets::Item::SocketGems::SocketGems ( WorldPacket &&  packet)
508 : ClientPacket(CMSG_SOCKET_GEMS, std::move(packet)) { }
Definition: Opcodes.h:649
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Item::SocketGems::Read ( )

Implements WorldPackets::Packet.

533 {
535  for (uint32 i = 0; i < MAX_GEM_SOCKETS; ++i)
536  _worldPacket >> GemItem[i];
537 }
Definition: Item.h:195
ObjectGuid ItemGuid
Definition: ItemPackets.h:512
ObjectGuid GemItem[MAX_GEM_SOCKETS]
Definition: ItemPackets.h:513
WorldPacket _worldPacket
Definition: Packet.h:43
uint32_t uint32
Definition: Define.h:150

Member Data Documentation

ObjectGuid WorldPackets::Item::SocketGems::GemItem[MAX_GEM_SOCKETS]
ObjectGuid WorldPackets::Item::SocketGems::ItemGuid

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