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

#include <GuildPackets.h>

Public Member Functions

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

int32 Tab = 0
std::string TabText

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket

Constructor & Destructor Documentation

WorldPackets::Guild::GuildBankSetTabText::GuildBankSetTabText ( WorldPacket &&  packet)
902 : ClientPacket(CMSG_GUILD_BANK_SET_TAB_TEXT, std::move(packet)) { }
Definition: Opcodes.h:313
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Guild::GuildBankSetTabText::Read ( )

Implements WorldPackets::Packet.

724 {
725  _worldPacket >> Tab;
728  uint32 tabTextLen = _worldPacket.ReadBits(14);
730  TabText = _worldPacket.ReadString(tabTextLen);
731 }
uint32 ReadBits(int32 bits)
Definition: ByteBuffer.h:204
void ResetBitPos()
Definition: ByteBuffer.h:161
WorldPacket _worldPacket
Definition: Packet.h:43
int32 Tab
Definition: GuildPackets.h:906
std::string ReadString(uint32 length)
Definition: ByteBuffer.h:524
uint32_t uint32
Definition: Define.h:150
std::string TabText
Definition: GuildPackets.h:907

Member Data Documentation

int32 WorldPackets::Guild::GuildBankSetTabText::Tab = 0
std::string WorldPackets::Guild::GuildBankSetTabText::TabText

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