UO Protocol 0x56

Map Command (11 Bytes)

e.g. Plots course for ships

Offset Type     Name             Description
------ -------- ---------------- ------------------------------
 0000  BYTE     cmd
 0001  UINT     serial           map serial number
 0005  BYTE     command
 0006  BYTE     pin              0-based pin number(*)
 0007  USHORT   pinX             pixel from left
 0009  USHORT   pinY             pixel from top

(*) If Command is Request Edit Mode or Toggle Edit Mode, this will be a boolean value representing the mode. Commands

  0x01 - Add Pin
  0x03 - Move Pin
  0x04 - Delete Pin
  0x05 - Open Map
  0x06 - Request Edit Mode
  0x07 - Toggle Edit Mode