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

#include "GuildPackets.h"

Inheritance diagram for WorldPackets::Guild::GuildInfoResponse:
WorldPackets::ServerPacket

Public Member Functions

 GuildInfoResponse ()
 
WorldPacket const * Write () override
 

Public Attributes

std::string GuildName
 
time_t CreateDate = time_t(0)
 
int32 NumMembers = 0
 
int32 NumAccounts = 0
 

Additional Inherited Members

- Private 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
 
- Private 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
 
- Private Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Constructor & Destructor Documentation

◆ GuildInfoResponse()

WorldPackets::Guild::GuildInfoResponse::GuildInfoResponse ( )
inline
@ SMSG_GUILD_INFO
Definition: Opcodes.h:166
ServerPacket(OpcodeServer opcode, std::size_t initialSize=200)
Definition: Packet.cpp:25

Member Function Documentation

◆ Write()

WorldPacket const * WorldPackets::Guild::GuildInfoResponse::Write ( )
overridevirtual

Implements WorldPackets::Packet.

51{
56
57 return &_worldPacket;
58}
std::int32_t int32
Definition: Define.h:103
WorldPacket _worldPacket
Definition: Packet.h:42
time_t CreateDate
Definition: GuildPackets.h:92
int32 NumAccounts
Definition: GuildPackets.h:94
int32 NumMembers
Definition: GuildPackets.h:93
std::string GuildName
Definition: GuildPackets.h:91
void AppendPackedTime(time_t time)
Definition: ByteBuffer.cpp:137

References ByteBuffer::AppendPackedTime().

Referenced by Guild::SendInfo().

Member Data Documentation

◆ CreateDate

time_t WorldPackets::Guild::GuildInfoResponse::CreateDate = time_t(0)

Referenced by Guild::SendInfo().

◆ GuildName

std::string WorldPackets::Guild::GuildInfoResponse::GuildName

Referenced by Guild::SendInfo().

◆ NumAccounts

int32 WorldPackets::Guild::GuildInfoResponse::NumAccounts = 0

Referenced by Guild::SendInfo().

◆ NumMembers

int32 WorldPackets::Guild::GuildInfoResponse::NumMembers = 0

Referenced by Guild::SendInfo().