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

#include "GuildPackets.h"

Inheritance diagram for WorldPackets::Guild::GuildInvite:
WorldPackets::ServerPacket WorldPackets::Packet

Public Member Functions

 GuildInvite ()
 
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

std::string InviterName
 
std::string GuildName
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Constructor & Destructor Documentation

◆ GuildInvite()

WorldPackets::Guild::GuildInvite::GuildInvite ( )
inline
@ SMSG_GUILD_INVITE
Definition: Opcodes.h:161
ServerPacket(OpcodeServer opcode, std::size_t initialSize=200)
Definition: Packet.cpp:25

Member Function Documentation

◆ Write()

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

Implements WorldPackets::Packet.

96{
99
100 return &_worldPacket;
101}
WorldPacket _worldPacket
Definition: Packet.h:42
std::string InviterName
Definition: GuildPackets.h:198
std::string GuildName
Definition: GuildPackets.h:199

Referenced by Guild::HandleInviteMember().

Member Data Documentation

◆ GuildName

std::string WorldPackets::Guild::GuildInvite::GuildName

◆ InviterName

std::string WorldPackets::Guild::GuildInvite::InviterName