Pol  Revision:cb584c9
Pol::Network::MobileAnimationMsg Class Reference

#include <packetdefs.h>

+ Inheritance diagram for Pol::Network::MobileAnimationMsg:

Public Member Functions

 MobileAnimationMsg (u32 serial_ext, u16 anim, u16 action, u8 subaction, u16 action_old, u16 framecount_old, u16 repeat_old, Core::DIRECTION_FLAG_OLD backward_old, Core::REPEAT_FLAG_OLD repeat_flag_old, u8 delay_old, bool oldanim_valid, bool newanim_valid)
 
 MobileAnimationMsg (u32 serial_ext)
 
virtual ~MobileAnimationMsg ()
 
virtual void Send (Client *client) POL_OVERRIDE
 
void update (u16 anim, u16 action, u8 subaction, u16 action_old, u16 framecount_old, u16 repeat_old, Core::DIRECTION_FLAG_OLD backward_old, Core::REPEAT_FLAG_OLD repeat_flag_old, u8 delay_old, bool oldanim_valid, bool newanim_valid)
 
- Public Member Functions inherited from Pol::Network::PktSender
virtual ~PktSender ()
 

Private Member Functions

void build ()
 
void build6E ()
 

Private Attributes

u16 _action
 
u16 _action_old
 
u16 _anim
 
u8 _backward_old
 
u8 _delay_old
 
u16 _framecount_old
 
bool _newanim_valid
 
bool _oldanim_valid
 
PktHelper::PacketOut< PktOut_E2_p
 
PktHelper::PacketOut< PktOut_6E_p_old
 
u8 _repeat_flag_old
 
u16 _repeat_old
 
u32 _serial_ext
 
u8 _subaction
 

Detailed Description

Definition at line 102 of file packetdefs.h.

Constructor & Destructor Documentation

Pol::Network::MobileAnimationMsg::MobileAnimationMsg ( u32  serial_ext,
u16  anim,
u16  action,
u8  subaction,
u16  action_old,
u16  framecount_old,
u16  repeat_old,
Core::DIRECTION_FLAG_OLD  backward_old,
Core::REPEAT_FLAG_OLD  repeat_flag_old,
u8  delay_old,
bool  oldanim_valid,
bool  newanim_valid 
)

Definition at line 259 of file packetdefs.cpp.

Pol::Network::MobileAnimationMsg::MobileAnimationMsg ( u32  serial_ext)

Definition at line 241 of file packetdefs.cpp.

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

Definition at line 110 of file packetdefs.h.

References POL_OVERRIDE.

Member Function Documentation

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

Definition at line 304 of file packetdefs.cpp.

References _action, _anim, _p, _serial_ext, and _subaction.

Referenced by Send(), and update().

void Pol::Network::MobileAnimationMsg::build6E ( )
private

Definition at line 313 of file packetdefs.cpp.

References _action_old, _backward_old, _delay_old, _framecount_old, _p_old, _repeat_flag_old, _repeat_old, and _serial_ext.

Referenced by Send(), and update().

void Pol::Network::MobileAnimationMsg::Send ( Client client)
virtual
void Pol::Network::MobileAnimationMsg::update ( u16  anim,
u16  action,
u8  subaction,
u16  action_old,
u16  framecount_old,
u16  repeat_old,
Core::DIRECTION_FLAG_OLD  backward_old,
Core::REPEAT_FLAG_OLD  repeat_flag_old,
u8  delay_old,
bool  oldanim_valid,
bool  newanim_valid 
)

Member Data Documentation

u16 Pol::Network::MobileAnimationMsg::_action
private

Definition at line 120 of file packetdefs.h.

Referenced by build(), and update().

u16 Pol::Network::MobileAnimationMsg::_action_old
private

Definition at line 122 of file packetdefs.h.

Referenced by build6E(), and update().

u16 Pol::Network::MobileAnimationMsg::_anim
private

Definition at line 119 of file packetdefs.h.

Referenced by build(), and update().

u8 Pol::Network::MobileAnimationMsg::_backward_old
private

Definition at line 125 of file packetdefs.h.

Referenced by build6E(), and update().

u8 Pol::Network::MobileAnimationMsg::_delay_old
private

Definition at line 127 of file packetdefs.h.

Referenced by build6E(), and update().

u16 Pol::Network::MobileAnimationMsg::_framecount_old
private

Definition at line 123 of file packetdefs.h.

Referenced by build6E(), and update().

bool Pol::Network::MobileAnimationMsg::_newanim_valid
private

Definition at line 129 of file packetdefs.h.

Referenced by Send(), and update().

bool Pol::Network::MobileAnimationMsg::_oldanim_valid
private

Definition at line 128 of file packetdefs.h.

Referenced by Send(), and update().

PktHelper::PacketOut<PktOut_E2> Pol::Network::MobileAnimationMsg::_p
private

Definition at line 134 of file packetdefs.h.

Referenced by build(), Send(), and update().

PktHelper::PacketOut<PktOut_6E> Pol::Network::MobileAnimationMsg::_p_old
private

Definition at line 133 of file packetdefs.h.

Referenced by build6E(), Send(), and update().

u8 Pol::Network::MobileAnimationMsg::_repeat_flag_old
private

Definition at line 126 of file packetdefs.h.

Referenced by build6E(), and update().

u16 Pol::Network::MobileAnimationMsg::_repeat_old
private

Definition at line 124 of file packetdefs.h.

Referenced by build6E(), and update().

u32 Pol::Network::MobileAnimationMsg::_serial_ext
private

Definition at line 118 of file packetdefs.h.

Referenced by build(), and build6E().

u8 Pol::Network::MobileAnimationMsg::_subaction
private

Definition at line 121 of file packetdefs.h.

Referenced by build(), and update().


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