Pol  Revision:cb584c9
Pol::Network::HealthBarStatusUpdate Class Reference

#include <packetdefs.h>

+ Inheritance diagram for Pol::Network::HealthBarStatusUpdate:

Public Types

enum  Color : u8 { GREEN = 1, YELLOW = 2, RED = 3 }
 

Public Member Functions

 HealthBarStatusUpdate (u32 serial_ext, Color color, bool enable)
 
virtual ~HealthBarStatusUpdate ()
 
virtual void Send (Client *client) POL_OVERRIDE
 
- Public Member Functions inherited from Pol::Network::PktSender
virtual ~PktSender ()
 

Private Member Functions

void build ()
 

Private Attributes

Color _color
 
bool _enable
 
PktHelper::PacketOut< PktOut_17_p
 
u32 _serial_ext
 

Detailed Description

Definition at line 292 of file packetdefs.h.

Member Enumeration Documentation

Enumerator
GREEN 
YELLOW 
RED 

Definition at line 295 of file packetdefs.h.

Constructor & Destructor Documentation

Pol::Network::HealthBarStatusUpdate::HealthBarStatusUpdate ( u32  serial_ext,
Color  color,
bool  enable 
)

Definition at line 843 of file packetdefs.cpp.

virtual Pol::Network::HealthBarStatusUpdate::~HealthBarStatusUpdate ( )
inlinevirtual

Definition at line 302 of file packetdefs.h.

References POL_OVERRIDE.

Member Function Documentation

void Pol::Network::HealthBarStatusUpdate::build ( )
private

Definition at line 847 of file packetdefs.cpp.

References _color, _enable, _p, and _serial_ext.

Referenced by Send().

Member Data Documentation

Color Pol::Network::HealthBarStatusUpdate::_color
private

Definition at line 310 of file packetdefs.h.

Referenced by build().

bool Pol::Network::HealthBarStatusUpdate::_enable
private

Definition at line 309 of file packetdefs.h.

Referenced by build().

PktHelper::PacketOut<PktOut_17> Pol::Network::HealthBarStatusUpdate::_p
private

Definition at line 311 of file packetdefs.h.

Referenced by build(), and Send().

u32 Pol::Network::HealthBarStatusUpdate::_serial_ext
private

Definition at line 308 of file packetdefs.h.

Referenced by build().


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