All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::Combat::HealthUpdate Class Referencefinal

#include <CombatPackets.h>

Public Member Functions

 HealthUpdate ()
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 Guid
int32 Health = 0

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket

Constructor & Destructor Documentation

WorldPackets::Combat::HealthUpdate::HealthUpdate ( )
184 : ServerPacket(SMSG_HEALTH_UPDATE, 16 + 4) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1115

Member Function Documentation

WorldPacket const * WorldPackets::Combat::HealthUpdate::Write ( )

Implements WorldPackets::Packet.

131 {
132  _worldPacket << Guid;
135  return &_worldPacket;
136 }
WorldPacket _worldPacket
Definition: Packet.h:43
int32_t int32
Definition: g3dmath.h:167
ObjectGuid Guid
Definition: CombatPackets.h:188
int32 Health
Definition: CombatPackets.h:189

+ Here is the caller graph for this function:

Member Data Documentation

ObjectGuid WorldPackets::Combat::HealthUpdate::Guid
int32 WorldPackets::Combat::HealthUpdate::Health = 0

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