Pol  Revision:cb584c9
Pol::Network::GraphicEffectPkt Class Reference

#include <packetdefs.h>

+ Inheritance diagram for Pol::Network::GraphicEffectPkt:

Public Member Functions

 GraphicEffectPkt ()
 
 GraphicEffectPkt (u8 effect_type, u32 src_serial_ext, u32 dst_serial_ext, u16 effect, u16 xs, u16 ys, s8 zs, u16 xd, u16 yd, s8 zd, u8 speed, u8 loop, u8 explode, u8 unk26)
 
virtual ~GraphicEffectPkt ()
 
void followEffect (const Core::UObject *center, u16 effect, u8 speed, u8 loop)
 
void lightningBold (const Core::UObject *center)
 
void movingEffect (const Core::UObject *src, const Core::UObject *dst, u16 effect, u8 speed, u8 loop, u8 explode)
 
void movingEffect (u16 xs, u16 ys, s8 zs, u16 xd, u16 yd, s8 zd, u16 effect, u8 speed, u8 loop, u8 explode)
 
virtual void Send (Client *client) POL_OVERRIDE
 
void stationaryEffect (u16 xs, u16 ys, s8 zs, u16 effect, u8 speed, u8 loop, u8 explode)
 
- Public Member Functions inherited from Pol::Network::PktSender
virtual ~PktSender ()
 

Private Member Functions

void build ()
 

Private Attributes

u32 _dst_serial_ext
 
u16 _effect
 
u8 _effect_type
 
u8 _explode
 
u8 _loop
 
PktHelper::PacketOut< PktOut_70_p
 
u8 _speed
 
u32 _src_serial_ext
 
u8 _unk26
 
u16 _xd
 
u16 _xs
 
u16 _yd
 
u16 _ys
 
s8 _zd
 
s8 _zs
 

Detailed Description

Definition at line 202 of file packetdefs.h.

Constructor & Destructor Documentation

Pol::Network::GraphicEffectPkt::GraphicEffectPkt ( )

Definition at line 480 of file packetdefs.cpp.

Pol::Network::GraphicEffectPkt::GraphicEffectPkt ( u8  effect_type,
u32  src_serial_ext,
u32  dst_serial_ext,
u16  effect,
u16  xs,
u16  ys,
s8  zs,
u16  xd,
u16  yd,
s8  zd,
u8  speed,
u8  loop,
u8  explode,
u8  unk26 
)

Definition at line 499 of file packetdefs.cpp.

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

Definition at line 208 of file packetdefs.h.

References POL_OVERRIDE.

Member Function Documentation

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

Definition at line 612 of file packetdefs.cpp.

References _dst_serial_ext, _effect, _effect_type, _explode, _loop, _p, _speed, _src_serial_ext, _unk26, _xd, _xs, _yd, _ys, _zd, and _zs.

Referenced by Send().

void Pol::Network::GraphicEffectPkt::followEffect ( const Core::UObject center,
u16  effect,
u8  speed,
u8  loop 
)
void Pol::Network::GraphicEffectPkt::movingEffect ( u16  xs,
u16  ys,
s8  zs,
u16  xd,
u16  yd,
s8  zd,
u16  effect,
u8  speed,
u8  loop,
u8  explode 
)
void Pol::Network::GraphicEffectPkt::Send ( Client client)
virtual
void Pol::Network::GraphicEffectPkt::stationaryEffect ( u16  xs,
u16  ys,
s8  zs,
u16  effect,
u8  speed,
u8  loop,
u8  explode 
)

Member Data Documentation

u32 Pol::Network::GraphicEffectPkt::_dst_serial_ext
private

Definition at line 225 of file packetdefs.h.

Referenced by build(), followEffect(), lightningBold(), movingEffect(), and stationaryEffect().

u16 Pol::Network::GraphicEffectPkt::_effect
private

Definition at line 226 of file packetdefs.h.

Referenced by build(), followEffect(), lightningBold(), movingEffect(), and stationaryEffect().

u8 Pol::Network::GraphicEffectPkt::_effect_type
private

Definition at line 223 of file packetdefs.h.

Referenced by build(), followEffect(), lightningBold(), movingEffect(), and stationaryEffect().

u8 Pol::Network::GraphicEffectPkt::_explode
private

Definition at line 235 of file packetdefs.h.

Referenced by build(), followEffect(), lightningBold(), movingEffect(), and stationaryEffect().

u8 Pol::Network::GraphicEffectPkt::_loop
private

Definition at line 234 of file packetdefs.h.

Referenced by build(), followEffect(), lightningBold(), movingEffect(), and stationaryEffect().

PktHelper::PacketOut<PktOut_70> Pol::Network::GraphicEffectPkt::_p
private

Definition at line 238 of file packetdefs.h.

Referenced by build(), and Send().

u8 Pol::Network::GraphicEffectPkt::_speed
private

Definition at line 233 of file packetdefs.h.

Referenced by build(), followEffect(), lightningBold(), movingEffect(), and stationaryEffect().

u32 Pol::Network::GraphicEffectPkt::_src_serial_ext
private

Definition at line 224 of file packetdefs.h.

Referenced by build(), followEffect(), lightningBold(), movingEffect(), and stationaryEffect().

u8 Pol::Network::GraphicEffectPkt::_unk26
private

Definition at line 236 of file packetdefs.h.

Referenced by build(), followEffect(), lightningBold(), movingEffect(), and stationaryEffect().

u16 Pol::Network::GraphicEffectPkt::_xd
private

Definition at line 230 of file packetdefs.h.

Referenced by build(), followEffect(), lightningBold(), movingEffect(), and stationaryEffect().

u16 Pol::Network::GraphicEffectPkt::_xs
private

Definition at line 227 of file packetdefs.h.

Referenced by build(), followEffect(), lightningBold(), movingEffect(), and stationaryEffect().

u16 Pol::Network::GraphicEffectPkt::_yd
private

Definition at line 231 of file packetdefs.h.

Referenced by build(), followEffect(), lightningBold(), movingEffect(), and stationaryEffect().

u16 Pol::Network::GraphicEffectPkt::_ys
private

Definition at line 228 of file packetdefs.h.

Referenced by build(), followEffect(), lightningBold(), movingEffect(), and stationaryEffect().

s8 Pol::Network::GraphicEffectPkt::_zd
private

Definition at line 232 of file packetdefs.h.

Referenced by build(), followEffect(), lightningBold(), movingEffect(), and stationaryEffect().

s8 Pol::Network::GraphicEffectPkt::_zs
private

Definition at line 229 of file packetdefs.h.

Referenced by build(), followEffect(), lightningBold(), movingEffect(), and stationaryEffect().


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