- Add Mahjong packets (0xDA) with 18 sub-commands (6 outgoing, 12 incoming) - Add Bulletin Board incoming packets (0x71) with 4 sub-commands - Add Corpse Equipment packet (0x89) - Convert 0x6F Secure Trade to variants (Cancel, Toggle Accept, Update Gold) - Convert 0xB8 Profile Request to variants (Display, Edit) - Convert 0xAD Unicode Speech to variants with encoded keyword documentation - Move 0xD7 base packet from player.json to encoded.json for consistency - Fix dropdown arrow positioning in HTML template - Fix packet sorting for embedded subIds (0xBF/0x22 format) - Add reflexive relationships between related packets - Update 0x3C container content with corpse usage notes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
84 lines
No EOL
4.8 KiB
JSON
84 lines
No EOL
4.8 KiB
JSON
{
|
|
"category": "Map",
|
|
"packets": [
|
|
{
|
|
"id": "0x56",
|
|
"name": "Map Command",
|
|
"description": "Client sends map pin commands for editable map items. Commands include adding, inserting, changing, and removing pins.",
|
|
"direction": "incoming",
|
|
"isDynamic": false,
|
|
"size": 11,
|
|
"fields": [
|
|
{
|
|
"name": "Packet ID",
|
|
"type": "byte",
|
|
"size": 1,
|
|
"value": "0x56",
|
|
"description": "Packet identifier"
|
|
},
|
|
{
|
|
"name": "Map Serial",
|
|
"type": "uint",
|
|
"size": 4,
|
|
"description": "Serial of the map item"
|
|
},
|
|
{
|
|
"name": "Command",
|
|
"type": "enum",
|
|
"size": 1,
|
|
"description": "Map pin command type",
|
|
"values": [
|
|
{ "value": "1", "name": "AddPin", "description": "Add a new pin" },
|
|
{ "value": "2", "name": "InsertPin", "description": "Insert pin at position" },
|
|
{ "value": "3", "name": "ChangePin", "description": "Change existing pin" },
|
|
{ "value": "4", "name": "RemovePin", "description": "Remove a pin" },
|
|
{ "value": "5", "name": "ClearPins", "description": "Clear all pins" },
|
|
{ "value": "6", "name": "ToggleEditable", "description": "Toggle edit mode" }
|
|
]
|
|
},
|
|
{
|
|
"name": "Number",
|
|
"type": "byte",
|
|
"size": 1,
|
|
"description": "Pin number (for insert, change, remove commands)"
|
|
},
|
|
{
|
|
"name": "X",
|
|
"type": "short",
|
|
"size": 2,
|
|
"description": "X coordinate of pin"
|
|
},
|
|
{
|
|
"name": "Y",
|
|
"type": "short",
|
|
"size": 2,
|
|
"description": "Y coordinate of pin"
|
|
}
|
|
],
|
|
"related": [
|
|
{
|
|
"id": "0x56",
|
|
"direction": "outgoing",
|
|
"relationship": "related",
|
|
"note": "Server map pin commands"
|
|
},
|
|
{
|
|
"id": "0x90",
|
|
"direction": "outgoing",
|
|
"relationship": "related",
|
|
"note": "Map Details packet (old)"
|
|
},
|
|
{
|
|
"id": "0xF5",
|
|
"direction": "outgoing",
|
|
"relationship": "related",
|
|
"note": "Map Details packet (new)"
|
|
}
|
|
],
|
|
"source": {
|
|
"file": "Projects/UOContent/Items/Maps/MapItemPackets.cs",
|
|
"line": 28
|
|
}
|
|
}
|
|
]
|
|
} |