Pol  Revision:cb584c9
Pol::Network::SendWorldItem Class Reference

#include <packetdefs.h>

+ Inheritance diagram for Pol::Network::SendWorldItem:

Public Member Functions

 SendWorldItem (u32 serial, u16 graphic, u16 amount, u16 x, u16 y, s8 z, u8 facing, u16 color, u8 flags)
 
virtual ~SendWorldItem ()
 
virtual void Send (Client *client) POL_OVERRIDE
 
void updateFlags (u8 flags)
 
- Public Member Functions inherited from Pol::Network::PktSender
virtual ~PktSender ()
 

Private Member Functions

void build1A ()
 
void buildF3 ()
 

Private Attributes

u16 _amount
 
u16 _color
 
u8 _facing
 
u8 _flags
 
u16 _graphic
 
PktHelper::PacketOut< PktOut_F3_p
 
PktHelper::PacketOut< PktOut_1A_p_old
 
u16 _p_oldlen
 
u32 _serial
 
u16 _x
 
u16 _y
 
s8 _z
 

Detailed Description

Definition at line 32 of file packetdefs.h.

Constructor & Destructor Documentation

Pol::Network::SendWorldItem::SendWorldItem ( u32  serial,
u16  graphic,
u16  amount,
u16  x,
u16  y,
s8  z,
u8  facing,
u16  color,
u8  flags 
)

Definition at line 99 of file packetdefs.cpp.

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

Definition at line 37 of file packetdefs.h.

References POL_OVERRIDE.

Member Function Documentation

void Pol::Network::SendWorldItem::build1A ( )
private

Definition at line 52 of file packetdefs.cpp.

References _amount, _color, _facing, _flags, _graphic, _p_old, _p_oldlen, _serial, _x, _y, and _z.

Referenced by Send().

void Pol::Network::SendWorldItem::buildF3 ( )
private

Definition at line 81 of file packetdefs.cpp.

References _amount, _color, _facing, _flags, _graphic, _p, _serial, _x, _y, and _z.

Referenced by Send().

void Pol::Network::SendWorldItem::Send ( Client client)
virtual
void Pol::Network::SendWorldItem::updateFlags ( u8  flags)

Definition at line 34 of file packetdefs.cpp.

References _flags, _p, _p_old, and _p_oldlen.

Member Data Documentation

u16 Pol::Network::SendWorldItem::_amount
private

Definition at line 47 of file packetdefs.h.

Referenced by build1A(), and buildF3().

u16 Pol::Network::SendWorldItem::_color
private

Definition at line 52 of file packetdefs.h.

Referenced by build1A(), and buildF3().

u8 Pol::Network::SendWorldItem::_facing
private

Definition at line 51 of file packetdefs.h.

Referenced by build1A(), and buildF3().

u8 Pol::Network::SendWorldItem::_flags
private

Definition at line 53 of file packetdefs.h.

Referenced by build1A(), buildF3(), and updateFlags().

u16 Pol::Network::SendWorldItem::_graphic
private

Definition at line 46 of file packetdefs.h.

Referenced by build1A(), and buildF3().

PktHelper::PacketOut<PktOut_F3> Pol::Network::SendWorldItem::_p
private

Definition at line 55 of file packetdefs.h.

Referenced by buildF3(), Send(), and updateFlags().

PktHelper::PacketOut<PktOut_1A> Pol::Network::SendWorldItem::_p_old
private

Definition at line 54 of file packetdefs.h.

Referenced by build1A(), Send(), and updateFlags().

u16 Pol::Network::SendWorldItem::_p_oldlen
private

Definition at line 44 of file packetdefs.h.

Referenced by build1A(), Send(), and updateFlags().

u32 Pol::Network::SendWorldItem::_serial
private

Definition at line 45 of file packetdefs.h.

Referenced by build1A(), and buildF3().

u16 Pol::Network::SendWorldItem::_x
private

Definition at line 48 of file packetdefs.h.

Referenced by build1A(), and buildF3().

u16 Pol::Network::SendWorldItem::_y
private

Definition at line 49 of file packetdefs.h.

Referenced by build1A(), and buildF3().

s8 Pol::Network::SendWorldItem::_z
private

Definition at line 50 of file packetdefs.h.

Referenced by build1A(), and buildF3().


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