Send Gump Menu Dialog (0xB0)
- Status:
implemented - Direction:
Server - Length:
Variable - POL reference: https://docs.polserver.com/packets/index.php?Packet=0xB0
- Last modified in POL docs:
2009-03-02 07:53:51byTurley
Moongate Packet Classes
GenericGumpPacket(Outgoing, Variable, length-1) fromsrc/Moongate.Network.Packets/Outgoing/UI/GenericGumpPacket.cs
Current Moongate Behavior
Moongate currently has packet classes for this opcode.
Packet Build
| Type | Field |
|---|---|
BYTE[1] |
cmd |
BYTE[2] |
blockSize |
BYTE[4] |
id |
BYTE[4] |
gumpid |
BYTE[4] |
x |
BYTE[4] |
y |
BYTE[2] |
command section length |
BYTE[?] |
commands (zero terminated) |
BYTE[2] |
numTextLines |
BYTE[2] |
text length (in unicode (2 byte) characters.) |
BYTE[?] |
text (in unicode) |
Subcommand Build
N/A
Notes
In gump packets, and with any EMU (POL for sure) the "ID" is the # of the script's PID that fired the gump. This can be used via specific 0xBF packets to send the ID to the client to force closing of the gump from the server. When this is done, the client Auto Responds as if it had "exited" the menu normally so the serverside script will handle it as such.