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

#include <DuelPackets.h>

Public Member Functions

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

std::string BeatenName
 
std::string WinnerName
 
uint32 BeatenVirtualRealmAddress = 0
 
uint32 WinnerVirtualRealmAddress = 0
 
bool Fled = false
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Duel::DuelWinner::DuelWinner ( )
inline
111 : ServerPacket(SMSG_DUEL_WINNER, 4 * 4 + 1) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:967

Member Function Documentation

WorldPacket const * WorldPackets::Duel::DuelWinner::Write ( )
overridevirtual

Implements WorldPackets::Packet.

65 {
73 
74  return &_worldPacket;
75 }
std::string WinnerName
Definition: DuelPackets.h:116
WorldPacket _worldPacket
Definition: Packet.h:43
bool WriteBit(uint32 bit)
Definition: ByteBuffer.h:170
uint32 BeatenVirtualRealmAddress
Definition: DuelPackets.h:117
void WriteString(std::string const &str)
Definition: ByteBuffer.h:540
uint32 WinnerVirtualRealmAddress
Definition: DuelPackets.h:118
std::string BeatenName
Definition: DuelPackets.h:115
bool Fled
Definition: DuelPackets.h:119
void WriteBits(T value, int32 bits)
Definition: ByteBuffer.h:198

+ Here is the call graph for this function:

Member Data Documentation

std::string WorldPackets::Duel::DuelWinner::BeatenName
uint32 WorldPackets::Duel::DuelWinner::BeatenVirtualRealmAddress = 0
bool WorldPackets::Duel::DuelWinner::Fled = false
std::string WorldPackets::Duel::DuelWinner::WinnerName
uint32 WorldPackets::Duel::DuelWinner::WinnerVirtualRealmAddress = 0

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