Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

cServerPacket Class Reference

Base class of all packets send to server to client. More...

#include <packets.h>

Inheritance diagram for cServerPacket:

cPacket cPacketAnim cPacketBuy cPacketCharInfo cPacketCharProfile cPacketClearSquare cPacketContainer cPacketDelete cPacketDrawContainer cPacketDrawPlayer cPacketEffect cPacketFeatures cPacketFightOccuring cPacketGeneralInfo< cServerPacket > cPacketIconListMenu cPacketIdleWarning cPacketKick cPacketLoginComplete cPacketLoginDenied cPacketMap cPacketMapMessage cPacketMenu cPacketMidi cPacketMobileAttributes cPacketMoveACK cPacketMoveReject cPacketNewSubserver cPacketOverallLight cPacketPauseResumeClient cPacketPDClothing cPacketPersonalLight cPacketPlotCourse cPacketQuestArrow cPacketRejectMoveItem cPacketRename cPacketSound cPacketSpeech cPacketStatWindow cPacketTime cPacketUnicodeSpeech cPacketUpdatePlayer cPacketWalk cPacketWalkAck cPacketWalkReject cPacketWarMode cPacketWeather cPacketWebBrowser List of all members.

Public Methods

virtual void send (NXWCLIENT ps)
 Send packet to client.

virtual void send (P_CHAR pc)
 Send packet to player.

virtual ~cServerPacket ()

Detailed Description

Base class of all packets send to server to client.

Author:
Endymion
Since:
0.83a


Constructor & Destructor Documentation

virtual cServerPacket::~cServerPacket   [inline, virtual]
 


Member Function Documentation

void cServerPacket::send P_CHAR    pc [virtual]
 

Send packet to player.

Author:
Endymion
Since:
0.83a
Parameters:
pc  the player who send to

void cServerPacket::send NXWCLIENT    ps [virtual]
 

Send packet to client.

Author:
Endymion, rewritten by Luxor
Since:
0.83a
Parameters:
ps  the client who send to

Reimplemented in cPacketStatWindow, cPacketSpeech, cPacketBuy, cPacketContainer, cPacketRename, cPacketUnicodeSpeech, cPacketCharProfile, cPacketWebBrowser, cPacketMenu, cPacketIconListMenu, csPacketAddPartyMembers, csPacketRemovePartyMembers, csPacketPartyTellMessage, csPacketPartyTellAllMessage, and csPacketPartyInvite.


The documentation for this class was generated from the following files: SourceForge.net Logo