UO Protocol 0x7C

Object Picker

This is can be used to display either a gray menu with options or the old-fashioned object picker.

Offset Type     Name             Description
------ -------- ---------------- ------------------------------
 0000  BYTE     cmd
 0001  USHORT   size             the size of the packet
 0003  UINT     dialog           the dialog's serial
 0007  USHORT   menu             the menu's serial
 0009  BYTE     len_title        the length of the title
 0010  CHAR[]   title            the title of the dialog
       BYTE     options
       loop{  this loop contains information for each option/item in the dialog.
           USHORT artwork  the item's artwork number. Use 0x0000 for an option menu
           USHORT hue      the item's hue
           BYTE   length   the length of the option's text
           CHAR[] text     the text to display for the option
       }