Pol  Revision:cb584c9
Pol::Network::AddItemContainerMsg Class Reference

#include <packetdefs.h>

+ Inheritance diagram for Pol::Network::AddItemContainerMsg:

Public Member Functions

 AddItemContainerMsg (u32 serial_ext, u16 graphic, u16 amount, u16 x, u16 y, u8 slotindex, u32 containerserial_ext, u16 color)
 
virtual ~AddItemContainerMsg ()
 
virtual void Send (Client *client) POL_OVERRIDE
 
- Public Member Functions inherited from Pol::Network::PktSender
virtual ~PktSender ()
 

Private Member Functions

void build ()
 
void buildLegacy ()
 

Private Attributes

u16 _amount
 
u16 _color
 
u32 _containerserial_ext
 
u16 _graphic
 
PktHelper::PacketOut< PktOut_25_p
 
PktHelper::PacketOut< PktOut_25_p_old
 
u32 _serial_ext
 
u8 _slotindex
 
u16 _x
 
u16 _y
 

Detailed Description

Definition at line 79 of file packetdefs.h.

Constructor & Destructor Documentation

Pol::Network::AddItemContainerMsg::AddItemContainerMsg ( u32  serial_ext,
u16  graphic,
u16  amount,
u16  x,
u16  y,
u8  slotindex,
u32  containerserial_ext,
u16  color 
)

Definition at line 183 of file packetdefs.cpp.

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

Definition at line 84 of file packetdefs.h.

References POL_OVERRIDE.

Member Function Documentation

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

Definition at line 211 of file packetdefs.cpp.

References _amount, _color, _containerserial_ext, _graphic, _p, _serial_ext, _slotindex, _x, and _y.

Referenced by Send().

void Pol::Network::AddItemContainerMsg::buildLegacy ( )
private

Definition at line 199 of file packetdefs.cpp.

References _amount, _color, _containerserial_ext, _graphic, _p_old, _serial_ext, _x, and _y.

Referenced by Send().

Member Data Documentation

u16 Pol::Network::AddItemContainerMsg::_amount
private

Definition at line 92 of file packetdefs.h.

Referenced by build(), and buildLegacy().

u16 Pol::Network::AddItemContainerMsg::_color
private

Definition at line 97 of file packetdefs.h.

Referenced by build(), and buildLegacy().

u32 Pol::Network::AddItemContainerMsg::_containerserial_ext
private

Definition at line 96 of file packetdefs.h.

Referenced by build(), and buildLegacy().

u16 Pol::Network::AddItemContainerMsg::_graphic
private

Definition at line 91 of file packetdefs.h.

Referenced by build(), and buildLegacy().

PktHelper::PacketOut<PktOut_25> Pol::Network::AddItemContainerMsg::_p
private

Definition at line 99 of file packetdefs.h.

Referenced by build(), and Send().

PktHelper::PacketOut<PktOut_25> Pol::Network::AddItemContainerMsg::_p_old
private

Definition at line 98 of file packetdefs.h.

Referenced by buildLegacy(), and Send().

u32 Pol::Network::AddItemContainerMsg::_serial_ext
private

Definition at line 90 of file packetdefs.h.

Referenced by build(), and buildLegacy().

u8 Pol::Network::AddItemContainerMsg::_slotindex
private

Definition at line 95 of file packetdefs.h.

Referenced by build().

u16 Pol::Network::AddItemContainerMsg::_x
private

Definition at line 93 of file packetdefs.h.

Referenced by build(), and buildLegacy().

u16 Pol::Network::AddItemContainerMsg::_y
private

Definition at line 94 of file packetdefs.h.

Referenced by build(), and buildLegacy().


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