AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
WorldPackets::Guild::GuildSetRankPermissions Class Referencefinal

#include "GuildPackets.h"

Inheritance diagram for WorldPackets::Guild::GuildSetRankPermissions:
WorldPackets::ClientPacket WorldPackets::Packet

Public Member Functions

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

uint32 RankID = 0
 
uint32 WithdrawGoldLimit = 0
 
uint32 Flags = 0
 
uint32 TabFlags [GUILD_BANK_MAX_TABS]
 
uint32 TabWithdrawItemLimit [GUILD_BANK_MAX_TABS]
 
String< 15, Strings::NoHyperlinksRankName
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Constructor & Destructor Documentation

◆ GuildSetRankPermissions()

WorldPackets::Guild::GuildSetRankPermissions::GuildSetRankPermissions ( WorldPacket &&  packet)
inline
272: ClientPacket(CMSG_GUILD_RANK, std::move(packet)) { }
@ CMSG_GUILD_RANK
Definition: Opcodes.h:591
ClientPacket(WorldPacket &&packet)
Definition: Packet.cpp:39

Member Function Documentation

◆ Read()

void WorldPackets::Guild::GuildSetRankPermissions::Read ( )
overridevirtual

Implements WorldPackets::Packet.

181{
186
187 for (uint8 i = 0; i < GUILD_BANK_MAX_TABS; i++)
188 {
191 }
192}
std::uint8_t uint8
Definition: Define.h:109
@ GUILD_BANK_MAX_TABS
Definition: Guild.h:42
WorldPacket _worldPacket
Definition: Packet.h:42
uint32 RankID
Definition: GuildPackets.h:276
uint32 WithdrawGoldLimit
Definition: GuildPackets.h:277
String< 15, Strings::NoHyperlinks > RankName
Definition: GuildPackets.h:281
uint32 TabWithdrawItemLimit[GUILD_BANK_MAX_TABS]
Definition: GuildPackets.h:280
uint32 Flags
Definition: GuildPackets.h:278
uint32 TabFlags[GUILD_BANK_MAX_TABS]
Definition: GuildPackets.h:279

References GUILD_BANK_MAX_TABS.

Member Data Documentation

◆ Flags

uint32 WorldPackets::Guild::GuildSetRankPermissions::Flags = 0

◆ RankID

uint32 WorldPackets::Guild::GuildSetRankPermissions::RankID = 0

◆ RankName

String<15, Strings::NoHyperlinks> WorldPackets::Guild::GuildSetRankPermissions::RankName

◆ TabFlags

uint32 WorldPackets::Guild::GuildSetRankPermissions::TabFlags[GUILD_BANK_MAX_TABS]

◆ TabWithdrawItemLimit

uint32 WorldPackets::Guild::GuildSetRankPermissions::TabWithdrawItemLimit[GUILD_BANK_MAX_TABS]

◆ WithdrawGoldLimit

uint32 WorldPackets::Guild::GuildSetRankPermissions::WithdrawGoldLimit = 0