Pol  Revision:cb584c9
Pol::Network::SendDamagePkt Class Reference

#include <packetdefs.h>

+ Inheritance diagram for Pol::Network::SendDamagePkt:

Public Member Functions

 SendDamagePkt (u32 serial, u16 damage)
 
virtual ~SendDamagePkt ()
 
virtual void Send (Client *client) POL_OVERRIDE
 
- Public Member Functions inherited from Pol::Network::PktSender
virtual ~PktSender ()
 

Private Member Functions

void build ()
 
void buildold ()
 

Private Attributes

u16 _damage
 
PktHelper::PacketOut< PktOut_0B_p
 
PktHelper::PacketOut< PktOut_BF_Sub22_p_old
 
u32 _serial
 

Detailed Description

Definition at line 168 of file packetdefs.h.

Constructor & Destructor Documentation

Pol::Network::SendDamagePkt::SendDamagePkt ( u32  serial,
u16  damage 
)

Definition at line 397 of file packetdefs.cpp.

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

Definition at line 172 of file packetdefs.h.

References POL_OVERRIDE.

Member Function Documentation

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

Definition at line 417 of file packetdefs.cpp.

References _damage, _p, and _serial.

Referenced by Send().

void Pol::Network::SendDamagePkt::buildold ( )
private

Definition at line 423 of file packetdefs.cpp.

References _damage, _p_old, and _serial.

Referenced by Send().

void Pol::Network::SendDamagePkt::Send ( Client client)
virtual

Member Data Documentation

u16 Pol::Network::SendDamagePkt::_damage
private

Definition at line 180 of file packetdefs.h.

Referenced by build(), and buildold().

PktHelper::PacketOut<PktOut_0B> Pol::Network::SendDamagePkt::_p
private

Definition at line 182 of file packetdefs.h.

Referenced by build(), and Send().

PktHelper::PacketOut<PktOut_BF_Sub22> Pol::Network::SendDamagePkt::_p_old
private

Definition at line 181 of file packetdefs.h.

Referenced by buildold(), and Send().

u32 Pol::Network::SendDamagePkt::_serial
private

Definition at line 179 of file packetdefs.h.

Referenced by build(), and buildold().


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