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

#include <SpellPackets.h>

Public Member Functions

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

ObjectGuid ResurrectOffererGUID
 
uint32 ResurrectOffererVirtualRealmAddress = 0
 
uint32 PetNumber = 0
 
int32 SpellID = 0
 
bool UseTimer = false
 
bool Sickness = false
 
std::string Name
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Spells::ResurrectRequest::ResurrectRequest ( )
inline
716 : ServerPacket(SMSG_RESURRECT_REQUEST, 16 + 4 + 4 + 4 + 1) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1460

Member Function Documentation

WorldPacket const * WorldPackets::Spells::ResurrectRequest::Write ( )
overridevirtual

Implements WorldPackets::Packet.

718 {
721 
724 
725  _worldPacket.WriteBits(Name.length(), 6);
728 
730 
732 
733  return &_worldPacket;
734 }
void FlushBits()
Definition: ByteBuffer.h:150
uint32 ResurrectOffererVirtualRealmAddress
Definition: SpellPackets.h:721
WorldPacket _worldPacket
Definition: Packet.h:43
ObjectGuid ResurrectOffererGUID
Definition: SpellPackets.h:720
bool WriteBit(uint32 bit)
Definition: ByteBuffer.h:170
int32 SpellID
Definition: SpellPackets.h:723
bool UseTimer
Definition: SpellPackets.h:724
bool Sickness
Definition: SpellPackets.h:725
void WriteString(std::string const &str)
Definition: ByteBuffer.h:540
uint32 PetNumber
Definition: SpellPackets.h:722
std::string Name
Definition: SpellPackets.h:726
void WriteBits(T value, int32 bits)
Definition: ByteBuffer.h:198

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

std::string WorldPackets::Spells::ResurrectRequest::Name
uint32 WorldPackets::Spells::ResurrectRequest::PetNumber = 0
ObjectGuid WorldPackets::Spells::ResurrectRequest::ResurrectOffererGUID
uint32 WorldPackets::Spells::ResurrectRequest::ResurrectOffererVirtualRealmAddress = 0
bool WorldPackets::Spells::ResurrectRequest::Sickness = false
int32 WorldPackets::Spells::ResurrectRequest::SpellID = 0
bool WorldPackets::Spells::ResurrectRequest::UseTimer = false

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