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

#include <PartyPackets.h>

Public Member Functions

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

uint8 Assignment = 0
 
uint8 PartyIndex = 0
 
ObjectGuid Target
 
bool Set = false
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Party::SetPartyAssignment::SetPartyAssignment ( WorldPacket &&  packet)
inline
368 : ClientPacket(CMSG_SET_PARTY_ASSIGNMENT, std::move(packet)) { }
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62
Definition: Opcodes.h:624

Member Function Documentation

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

Implements WorldPackets::Packet.

165 {
168  _worldPacket >> Target;
170 }
WorldPacket _worldPacket
Definition: Packet.h:43
uint8 PartyIndex
Definition: PartyPackets.h:372
bool Set
Definition: PartyPackets.h:374
ObjectGuid Target
Definition: PartyPackets.h:373
uint8 Assignment
Definition: PartyPackets.h:371
bool ReadBit()
Definition: ByteBuffer.h:186

Member Data Documentation

uint8 WorldPackets::Party::SetPartyAssignment::Assignment = 0
uint8 WorldPackets::Party::SetPartyAssignment::PartyIndex = 0
bool WorldPackets::Party::SetPartyAssignment::Set = false
ObjectGuid WorldPackets::Party::SetPartyAssignment::Target

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