feat: Expand packet documentation with enums, bitfields, and detailed formats
- Add 42 new packet JSON definitions (assistant, book, chat, gump, house, etc.) - Convert inline enum/bitflag descriptions to structured enum arrays - Add planeFormat section for 0xD8 house customization packet - Add Plane Format rendering in HTML template - Standardize field descriptions and remove inline value lists - Add comprehensive gump layout command documentation - Document boat, mahjong, party, secure trade, and weapon ability packets 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
f0b65fecb7
commit
0d3dc75330
51 changed files with 18827 additions and 3924 deletions
64
Distribution/Data/packets/incoming/map.json
Normal file
64
Distribution/Data/packets/incoming/map.json
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
{
|
||||
"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": "byte",
|
||||
"size": 1,
|
||||
"description": "Map pin command type",
|
||||
"enum": [
|
||||
{ "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"
|
||||
}
|
||||
],
|
||||
"source": {
|
||||
"file": "Projects/UOContent/Items/Maps/MapItemPackets.cs",
|
||||
"line": 28
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue