Pol  Revision:cb584c9
Pol::Network::PlaySoundPkt Class Reference

#include <packetdefs.h>

+ Inheritance diagram for Pol::Network::PlaySoundPkt:

Public Member Functions

 PlaySoundPkt (u8 type, u16 effect, u16 xcenter, u16 ycenter, s16 zcenter)
virtual ~PlaySoundPkt ()
virtual void Send (Client *client) POL_OVERRIDE
- Public Member Functions inherited from Pol::Network::PktSender
virtual ~PktSender ()

Private Member Functions

void build ()

Private Attributes

u16 _effect
PktHelper::PacketOut< PktOut_54_p
u8 _type
u16 _xcenter
u16 _ycenter
s16 _zcenter

Detailed Description

Definition at line 137 of file packetdefs.h.

Constructor & Destructor Documentation

Pol::Network::PlaySoundPkt::PlaySoundPkt ( u8  type,
u16  effect,
u16  xcenter,
u16  ycenter,
s16  zcenter 

Definition at line 346 of file packetdefs.cpp.

virtual Pol::Network::PlaySoundPkt::~PlaySoundPkt ( )

Definition at line 141 of file packetdefs.h.

References POL_OVERRIDE.

Member Function Documentation

void Pol::Network::PlaySoundPkt::build ( )

Definition at line 364 of file packetdefs.cpp.

References _effect, _p, _type, _xcenter, _ycenter, and _zcenter.

Referenced by Send().

void Pol::Network::PlaySoundPkt::Send ( Client client)

Member Data Documentation

u16 Pol::Network::PlaySoundPkt::_effect

Definition at line 147 of file packetdefs.h.

Referenced by build().

PktHelper::PacketOut<PktOut_54> Pol::Network::PlaySoundPkt::_p

Definition at line 151 of file packetdefs.h.

Referenced by build(), and Send().

u8 Pol::Network::PlaySoundPkt::_type

Definition at line 146 of file packetdefs.h.

Referenced by build().

u16 Pol::Network::PlaySoundPkt::_xcenter

Definition at line 148 of file packetdefs.h.

Referenced by build().

u16 Pol::Network::PlaySoundPkt::_ycenter

Definition at line 149 of file packetdefs.h.

Referenced by build().

s16 Pol::Network::PlaySoundPkt::_zcenter

Definition at line 150 of file packetdefs.h.

Referenced by build().

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