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

#include <ItemPackets.h>

Public Member Functions

 SocketGemsResult ()
 
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 Item
 
int32 Sockets [MAX_GEM_SOCKETS] = {}
 
int32 SocketMatch = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Item::SocketGemsResult::SocketGemsResult ( )
inline
519 : ServerPacket(SMSG_SOCKET_GEMS, 16 + 4 * 3 + 4) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1524

Member Function Documentation

WorldPacket const * WorldPackets::Item::SocketGemsResult::Write ( )
overridevirtual

Implements WorldPackets::Packet.

540 {
541  _worldPacket << Item;
544 
545  return &_worldPacket;
546 }
#define MAX_GEM_SOCKETS
Definition: Item.h:195
int32 Sockets[MAX_GEM_SOCKETS]
Definition: ItemPackets.h:524
WorldPacket _worldPacket
Definition: Packet.h:43
int32 SocketMatch
Definition: ItemPackets.h:525
void append(T value)
Definition: ByteBuffer.h:143
int32_t int32
Definition: g3dmath.h:167
ObjectGuid Item
Definition: ItemPackets.h:523

+ Here is the caller graph for this function:

Member Data Documentation

ObjectGuid WorldPackets::Item::SocketGemsResult::Item
int32 WorldPackets::Item::SocketGemsResult::SocketMatch = 0
int32 WorldPackets::Item::SocketGemsResult::Sockets[MAX_GEM_SOCKETS] = {}

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