AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
WorldPackets::Bank::AutoBankItem Class Referencefinal

#include "BankPackets.h"

Inheritance diagram for WorldPackets::Bank::AutoBankItem:
WorldPackets::ClientPacket WorldPackets::Packet

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 const * Write () final
 
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
 
virtual WorldPacket const * Write ()=0
 
virtual void Read ()=0
 
WorldPacket const * GetRawPacket () const
 
std::size_t GetSize () const
 

Public Attributes

uint8 Bag = 0
 
uint8 Slot = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Constructor & Destructor Documentation

◆ AutoBankItem()

WorldPackets::Bank::AutoBankItem::AutoBankItem ( WorldPacket &&  packet)
inline
31: ClientPacket(CMSG_AUTOBANK_ITEM, std::move(packet)) { }
@ CMSG_AUTOBANK_ITEM
Definition: Opcodes.h:673
ClientPacket(WorldPacket &&packet)
Definition: Packet.cpp:39

Member Function Documentation

◆ Read()

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

Implements WorldPackets::Packet.

21{
24}
WorldPacket _worldPacket
Definition: Packet.h:42
uint8 Bag
Definition: BankPackets.h:35
uint8 Slot
Definition: BankPackets.h:36

References WorldPackets::Packet::_worldPacket, Bag, and Slot.

Member Data Documentation

◆ Bag

uint8 WorldPackets::Bank::AutoBankItem::Bag = 0

◆ Slot

uint8 WorldPackets::Bank::AutoBankItem::Slot = 0