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

#include <ItemPackets.h>

Public Member Functions

 ReadItem (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 PackSlot = 0
uint8 Slot = 0

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket

Constructor & Destructor Documentation

WorldPackets::Item::ReadItem::ReadItem ( WorldPacket &&  packet)
396 : ClientPacket(CMSG_READ_ITEM, std::move(packet)) { }
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62
Definition: Opcodes.h:549

Member Function Documentation

void WorldPackets::Item::ReadItem::Read ( )

Implements WorldPackets::Packet.

447 {
449  _worldPacket >> Slot;
450 }
uint8 PackSlot
Definition: ItemPackets.h:400
WorldPacket _worldPacket
Definition: Packet.h:43
uint8 Slot
Definition: ItemPackets.h:401

Member Data Documentation

uint8 WorldPackets::Item::ReadItem::PackSlot = 0
uint8 WorldPackets::Item::ReadItem::Slot = 0

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