|
Pol
Revision:cb584c9
|
#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 |
Definition at line 292 of file packetdefs.h.
| Enumerator | |
|---|---|
| GREEN | |
| YELLOW | |
| RED | |
Definition at line 295 of file packetdefs.h.
| Pol::Network::HealthBarStatusUpdate::HealthBarStatusUpdate | ( | u32 | serial_ext, |
| Color | color, | ||
| bool | enable | ||
| ) |
Definition at line 843 of file packetdefs.cpp.
|
inlinevirtual |
Definition at line 302 of file packetdefs.h.
References POL_OVERRIDE.
|
private |
Definition at line 847 of file packetdefs.cpp.
References _color, _enable, _p, and _serial_ext.
Referenced by Send().
|
virtual |
Implements Pol::Network::PktSender.
Definition at line 856 of file packetdefs.cpp.
References _p, build(), Pol::Network::Client::ClientType, and Pol::Network::CLIENTTYPE_UOKR.
Referenced by Pol::Mobile::PrivUpdater::disable_invul(), Pol::Mobile::Character::on_poison_changed(), Pol::Core::send_invulhealthbar(), and Pol::Core::send_poisonhealthbar().
|
private |
Definition at line 310 of file packetdefs.h.
Referenced by build().
|
private |
Definition at line 309 of file packetdefs.h.
Referenced by build().
|
private |
Definition at line 311 of file packetdefs.h.
|
private |
Definition at line 308 of file packetdefs.h.
Referenced by build().