#include <packets.h>
Inheritance diagram for cPacketMenu:

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 | |
|
|
|
|
|
|
|
|
Send packet to client.
Reimplemented from cServerPacket. |
|
|
command section length
|
|
|
commands ( zero terminated )
|
|
|
gump serial
|
|
|
text lenth for every unicode string
|
|
|
text lines number
|
|
|
the serial
|
|
|
|
|
|
text ( every string is NOT null terminated )
|
|
|
x location
|
|
|
x location
|