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

#include <BankPackets.h>

Public Member Functions

 AutoStoreBankItem (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

WorldPackets::Item::InvUpdate Inv
 
uint8 Bag = 0
 
uint8 Slot = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Bank::AutoStoreBankItem::AutoStoreBankItem ( WorldPacket &&  packet)
inline
45 : ClientPacket(CMSG_AUTOSTORE_BANK_ITEM, std::move(packet)) { }
Definition: Opcodes.h:77
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Bank::AutoStoreBankItem::Read ( )
overridevirtual

Implements WorldPackets::Packet.

29 {
30  _worldPacket >> Inv
31  >> Bag
32  >> Slot;
33 }
WorldPacket _worldPacket
Definition: Packet.h:43
Definition: Bag.h:28
WorldPackets::Item::InvUpdate Inv
Definition: BankPackets.h:49
uint8 Slot
Definition: BankPackets.h:51

Member Data Documentation

uint8 WorldPackets::Bank::AutoStoreBankItem::Bag = 0
WorldPackets::Item::InvUpdate WorldPackets::Bank::AutoStoreBankItem::Inv
uint8 WorldPackets::Bank::AutoStoreBankItem::Slot = 0

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