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

#include <GuildPackets.h>

Public Member Functions

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

ObjectGuid Banker
uint8 BankTab = 0
std::string Name
std::string Icon

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket

Constructor & Destructor Documentation

WorldPackets::Guild::GuildBankUpdateTab::GuildBankUpdateTab ( WorldPacket &&  packet)
718 : ClientPacket(CMSG_GUILD_BANK_UPDATE_TAB, std::move(packet)) { }
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62
Definition: Opcodes.h:316

Member Function Documentation

void WorldPackets::Guild::GuildBankUpdateTab::Read ( )

Implements WorldPackets::Packet.

557 {
558  _worldPacket >> Banker;
562  uint32 nameLen = _worldPacket.ReadBits(7);
563  uint32 iconLen = _worldPacket.ReadBits(9);
565  Name = _worldPacket.ReadString(nameLen);
566  Icon = _worldPacket.ReadString(iconLen);
567 }
uint8 BankTab
Definition: GuildPackets.h:723
uint32 ReadBits(int32 bits)
Definition: ByteBuffer.h:204
void ResetBitPos()
Definition: ByteBuffer.h:161
WorldPacket _worldPacket
Definition: Packet.h:43
std::string ReadString(uint32 length)
Definition: ByteBuffer.h:524
ObjectGuid Banker
Definition: GuildPackets.h:722
uint32_t uint32
Definition: Define.h:150
std::string Name
Definition: GuildPackets.h:724
std::string Icon
Definition: GuildPackets.h:725

Member Data Documentation

ObjectGuid WorldPackets::Guild::GuildBankUpdateTab::Banker
uint8 WorldPackets::Guild::GuildBankUpdateTab::BankTab = 0
std::string WorldPackets::Guild::GuildBankUpdateTab::Icon
std::string WorldPackets::Guild::GuildBankUpdateTab::Name

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