TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::Party::SetAssistantLeader Class Referencefinal

#include <PartyPackets.h>

Public Member Functions

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

ObjectGuid Target
 
int8 PartyIndex = 0
 
bool Apply = false
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Party::SetAssistantLeader::SetAssistantLeader ( WorldPacket &&  packet)
inline
356 : ClientPacket(CMSG_SET_ASSISTANT_LEADER, std::move(packet)) { }
Definition: Opcodes.h:608
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Party::SetAssistantLeader::Read ( )
overridevirtual

Implements WorldPackets::Packet.

264 {
266  _worldPacket >> Target;
268 }
ObjectGuid Target
Definition: PartyPackets.h:360
bool Apply
Definition: PartyPackets.h:362
WorldPacket _worldPacket
Definition: Packet.h:43
int8 PartyIndex
Definition: PartyPackets.h:361
bool ReadBit()
Definition: ByteBuffer.h:186

Member Data Documentation

bool WorldPackets::Party::SetAssistantLeader::Apply = false
int8 WorldPackets::Party::SetAssistantLeader::PartyIndex = 0
ObjectGuid WorldPackets::Party::SetAssistantLeader::Target

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