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

cPacketMenuSelection Class Reference

A menu item is selected. More...

#include <packets.h>

Inheritance diagram for cPacketMenuSelection:

cClientPacket cPacket List of all members.

Public Methods

 cPacketMenuSelection ()
void receive (NXWCLIENT PS)
 Receive packet from client.


Public Attributes

eSERIAL serial
 the serial ( first Id in PKG_MENU )

eSERIAL id
 gump serial (second Id in PKG_MENU )

eUI32 buttonId
 which button pressed or 0 if closed

std::vector< SERIALswitchs
 switch ids

std::map< SERIAL, std::wstring > text_entries
 text entries


Private Attributes

eUI16 size
 size

eUI32 switchcount
 response info for radio buttons and checkboxes, any switches listed here are switched on

eUI32 textcount
 response info for textentries


Detailed Description

A menu item is selected.

Author:
Endymion
Since:
0.83
Note:
0xB1


Constructor & Destructor Documentation

cPacketMenuSelection::cPacketMenuSelection  
 


Member Function Documentation

void cPacketMenuSelection::receive NXWCLIENT    ps [virtual]
 

Receive packet from client.

Author:
Endymion
Since:
0.83a
Parameters:
ps  the client who send this packet
Attention:
NOT WRITE THE CMD, it's read before

Reimplemented from cClientPacket.


Member Data Documentation

eUI32 cPacketMenuSelection::buttonId
 

which button pressed or 0 if closed

eSERIAL cPacketMenuSelection::id
 

gump serial (second Id in PKG_MENU )

eSERIAL cPacketMenuSelection::serial
 

the serial ( first Id in PKG_MENU )

eUI16 cPacketMenuSelection::size [private]
 

size

eUI32 cPacketMenuSelection::switchcount [private]
 

response info for radio buttons and checkboxes, any switches listed here are switched on

std::vector<SERIAL> cPacketMenuSelection::switchs
 

switch ids

std::map< SERIAL, std::wstring> cPacketMenuSelection::text_entries
 

text entries

eUI32 cPacketMenuSelection::textcount [private]
 

response info for textentries


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