Gump Menu Selection (0xB1)
- Status:
implemented - Direction:
Client - Length:
Variable - POL reference: https://docs.polserver.com/packets/index.php?Packet=0xB1
- Last modified in POL docs:
2009-03-02 07:32:14byTurley
Moongate Packet Classes
GumpMenuSelectionPacket(Incoming, Variable, length-1) fromsrc/Moongate.Network.Packets/Incoming/UI/GumpMenuSelectionPacket.cs
Current Moongate Behavior
Moongate currently has packet classes for this opcode.
Packet Build
| Type | Field |
|---|---|
BYTE[1] |
cmd |
BYTE[2] |
length |
BYTE[4] |
id (first Id in 0xb0) |
BYTE[4] |
gumpId (second Id in 0xb0) |
BYTE[4] |
buttonId (which button perssed ? 0 if closed) |
BYTE[4] |
switchcount (response info for radio buttons and checkboxes, any switches listed here are switched on) |
For each switch
| Type | Field |
|---|---|
BYTE[4] |
SwitchId |
BYTE[4] |
textcount (response info for textentries) |
For each textentry
| Type | Field |
|---|---|
BYTE[2] |
textId |
BYTE[2] |
textlength |
BYTE[length*2] |
Unicode text (not nullterminated) |
Subcommand Build
N/A
Notes
N/A