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

#include <BankPackets.h>

Public Member Functions

 AutoBankItem (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::AutoBankItem::AutoBankItem ( WorldPacket &&  packet)
33 : ClientPacket(CMSG_AUTOBANK_ITEM, std::move(packet)) { }
Definition: Opcodes.h:75
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Bank::AutoBankItem::Read ( )

Implements WorldPackets::Packet.

22 {
23  _worldPacket >> Inv
24  >> Bag
25  >> Slot;
26 }
WorldPacket _worldPacket
Definition: Packet.h:43
WorldPackets::Item::InvUpdate Inv
Definition: BankPackets.h:37
Definition: Bag.h:28
uint8 Slot
Definition: BankPackets.h:39

Member Data Documentation

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

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