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

#include <ItemPackets.h>

Public Member Functions

 AutoEquipItem (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 Slot = 0
 
InvUpdate Inv
 
uint8 PackSlot = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Item::AutoEquipItem::AutoEquipItem ( WorldPacket &&  packet)
inline
300 : ClientPacket(CMSG_AUTO_EQUIP_ITEM, std::move(packet)) { }
Definition: Opcodes.h:79
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Item::AutoEquipItem::Read ( )
overridevirtual

Implements WorldPackets::Packet.

378 {
379  _worldPacket >> Inv
380  >> PackSlot
381  >> Slot;
382 }
InvUpdate Inv
Definition: ItemPackets.h:305
WorldPacket _worldPacket
Definition: Packet.h:43
uint8 Slot
Definition: ItemPackets.h:304
uint8 PackSlot
Definition: ItemPackets.h:306

Member Data Documentation

InvUpdate WorldPackets::Item::AutoEquipItem::Inv
uint8 WorldPackets::Item::AutoEquipItem::PackSlot = 0
uint8 WorldPackets::Item::AutoEquipItem::Slot = 0

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