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

#include <PartyPackets.h>

Public Member Functions

 RoleChangedInform ()
 
WorldPacket constWrite () override
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
 
void Read () overridefinal
 
void Clear ()
 
WorldPacket && Move ()
 
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
 
WorldPacket constGetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Public Attributes

int8 PartyIndex = 0
 
ObjectGuid From
 
ObjectGuid ChangedUnit
 
int32 OldRole = 0
 
int32 NewRole = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Party::RoleChangedInform::RoleChangedInform ( )
inline
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1462

Member Function Documentation

WorldPacket const * WorldPackets::Party::RoleChangedInform::Write ( )
overridevirtual

Implements WorldPackets::Packet.

181 {
183  _worldPacket << From;
187 
188  return &_worldPacket;
189 }
int32 OldRole
Definition: PartyPackets.h:246
WorldPacket _worldPacket
Definition: Packet.h:43
ObjectGuid ChangedUnit
Definition: PartyPackets.h:245
int32 NewRole
Definition: PartyPackets.h:247
int8 PartyIndex
Definition: PartyPackets.h:243
ObjectGuid From
Definition: PartyPackets.h:244

+ Here is the caller graph for this function:

Member Data Documentation

ObjectGuid WorldPackets::Party::RoleChangedInform::ChangedUnit
ObjectGuid WorldPackets::Party::RoleChangedInform::From
int32 WorldPackets::Party::RoleChangedInform::NewRole = 0
int32 WorldPackets::Party::RoleChangedInform::OldRole = 0
int8 WorldPackets::Party::RoleChangedInform::PartyIndex = 0

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