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

#include "GuildPackets.h"

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

Public Member Functions

 GuildCommandResult ()
 
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 Name
 
int32 Result = 0
 
int32 Command = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Constructor & Destructor Documentation

◆ GuildCommandResult()

WorldPackets::Guild::GuildCommandResult::GuildCommandResult ( )
inline
@ SMSG_GUILD_COMMAND_RESULT
Definition: Opcodes.h:177
ServerPacket(OpcodeServer opcode, std::size_t initialSize=200)
Definition: Packet.cpp:25

Member Function Documentation

◆ Write()

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

Implements WorldPackets::Packet.

82{
86
87 return &_worldPacket;
88}
std::int32_t int32
Definition: Define.h:103
WorldPacket _worldPacket
Definition: Packet.h:42
int32 Command
Definition: GuildPackets.h:162
std::string Name
Definition: GuildPackets.h:160
int32 Result
Definition: GuildPackets.h:161

Referenced by Guild::SendCommandResult().

Member Data Documentation

◆ Command

int32 WorldPackets::Guild::GuildCommandResult::Command = 0

◆ Name

std::string WorldPackets::Guild::GuildCommandResult::Name

◆ Result

int32 WorldPackets::Guild::GuildCommandResult::Result = 0