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

#include <SpellPackets.h>

Public Member Functions

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

uint8 Index = 0
 
uint8 Rune = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Spells::ConvertRune::ConvertRune ( )
inline
805 : ServerPacket(SMSG_CONVERT_RUNE, 1 + 1) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:929

Member Function Documentation

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

Implements WorldPackets::Packet.

784 {
786  _worldPacket << uint8(Rune);
787 
788  return &_worldPacket;
789 }
uint8 Rune
Definition: SpellPackets.h:810
WorldPacket _worldPacket
Definition: Packet.h:43
uint8 Index
Definition: SpellPackets.h:809
uint8_t uint8
Definition: g3dmath.h:164

Member Data Documentation

uint8 WorldPackets::Spells::ConvertRune::Index = 0
uint8 WorldPackets::Spells::ConvertRune::Rune = 0

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