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

#include "BankPackets.h"

Inheritance diagram for WorldPackets::Bank::BuyBankSlotResult:
WorldPackets::ServerPacket WorldPackets::Packet

Public Member Functions

 BuyBankSlotResult ()
 
WorldPacket const * Write () override
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, std::size_t initialSize=200)
 
void Read () final
 
void Clear ()
 
WorldPacket && Move ()
 
void ShrinkToFit ()
 
OpcodeServer 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

uint32 Result = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Constructor & Destructor Documentation

◆ BuyBankSlotResult()

WorldPackets::Bank::BuyBankSlotResult::BuyBankSlotResult ( )
inline
@ SMSG_BUY_BANK_SLOT_RESULT
Definition: Opcodes.h:472
ServerPacket(OpcodeServer opcode, std::size_t initialSize=200)
Definition: Packet.cpp:25

Member Function Documentation

◆ Write()

WorldPacket const * WorldPackets::Bank::BuyBankSlotResult::Write ( )
overridevirtual

Implements WorldPackets::Packet.

38{
40
41 return &_worldPacket;
42}
std::uint32_t uint32
Definition: Define.h:107
WorldPacket _worldPacket
Definition: Packet.h:42
uint32 Result
Definition: BankPackets.h:67

Referenced by WorldSession::HandleBuyBankSlotOpcode().

Member Data Documentation

◆ Result

uint32 WorldPackets::Bank::BuyBankSlotResult::Result = 0