Map Packet (cartography/treasure) (0x56)
- Status:
implemented - Direction:
Both - Length:
11 Bytes - POL reference: https://docs.polserver.com/packets/index.php?Packet=0x56
- Last modified in POL docs:
2009-08-13 12:14:36byMuadDib
Moongate Packet Classes
MapPacket(Incoming, Fixed, length11) fromsrc/Moongate.Network.Packets/Incoming/Map/MapPacket.cs
Current Moongate Behavior
Moongate currently has packet classes for this opcode.
Packet Build
| Type | Field |
|---|---|
BYTE[1] |
0x56 |
BYTE[4] |
Map Object Serial |
BYTE[1] |
Action Flag (see notes) |
BYTE[1] |
Pin ID or Plotting Flag (see notes) |
BYTE[2] |
X |
BYTE[2] |
Y |
Subcommand Build
N/A
Notes
Action Flag
1: Add Pin
2: Insert New Pin
3: Change Pin
4: Remove Pin
5: Clear Pins
6: Toggle Edit Map (Client)
7: Reply From Server to Action 6
Plotting Flag: Server Sent With Action Flag 7 Only
1: Plotting On
0: Plotting Off
X and Y location are relative to upper left corner of the map, in pixels