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

cPacketMenu Class Reference

Show an menu. More...

#include <packets.h>

Inheritance diagram for cPacketMenu:

cServerPacket cPacket List of all members.

Public Methods

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

void send (cChar *pc)

Public Attributes

eSERIAL serial
 the serial

eSERIAL id
 gump serial

eUI32 x
 x location

eUI32 y
 x location

std::vector< std::string > * commands
 commands ( zero terminated )

eUI16 len
 text lenth for every unicode string

std::vector< wstring > * texts
 text ( every string is NOT null terminated )


Private Attributes

eUI16 size
eUI16 cmd_length
 command section length

eUI16 numTextLines
 text lines number


Detailed Description

Show an menu.

Author:
Endymion
Since:
0.83
Note:
0xB0


Constructor & Destructor Documentation

cPacketMenu::cPacketMenu  
 


Member Function Documentation

void cPacketMenu::send cChar   pc
 

void cPacketMenu::send NXWCLIENT    ps [virtual]
 

Send packet to client.

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

Reimplemented from cServerPacket.


Member Data Documentation

eUI16 cPacketMenu::cmd_length [private]
 

command section length

std::vector<std::string>* cPacketMenu::commands
 

commands ( zero terminated )

eSERIAL cPacketMenu::id
 

gump serial

eUI16 cPacketMenu::len
 

text lenth for every unicode string

eUI16 cPacketMenu::numTextLines [private]
 

text lines number

eSERIAL cPacketMenu::serial
 

the serial

eUI16 cPacketMenu::size [private]
 

std::vector< wstring >* cPacketMenu::texts
 

text ( every string is NOT null terminated )

eUI32 cPacketMenu::x
 

x location

eUI32 cPacketMenu::y
 

x location


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