- Create JSON-based packet documentation for 145 packets (66 incoming, 79 outgoing) - Add HTML template with search, filtering, and navigation - Support enum/bitfield field display with values and descriptions - Support packet variants for version-specific structures - Include 0xBF extended command subpackets documentation - Add PowerShell build script to generate final HTML 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
27 lines
1.3 KiB
JSON
27 lines
1.3 KiB
JSON
{
|
|
"category": "Movement",
|
|
"packets": [
|
|
{
|
|
"id": "0x02",
|
|
"name": "Movement Request",
|
|
"description": "Sent by the client when the player attempts to move in a direction. The server responds with either MovementAck (0x22) if successful or MovementRej (0x21) if blocked.",
|
|
"direction": "incoming",
|
|
"isDynamic": false,
|
|
"size": 7,
|
|
"fields": [
|
|
{ "name": "packetId", "type": "byte", "size": 1, "value": "0x02", "description": "Packet identifier" },
|
|
{ "name": "direction", "type": "byte", "size": 1, "description": "Movement direction (0-7). Bit 0x80 indicates running." },
|
|
{ "name": "sequence", "type": "byte", "size": 1, "description": "Movement sequence number (1-255, wraps). Used for ack/rej matching." },
|
|
{ "name": "fastwalkKey", "type": "uint", "size": 4, "description": "Anti-speedhack prevention key. Set to 0 if fastwalk prevention is disabled." }
|
|
],
|
|
"related": [
|
|
{ "id": "0x21", "relationship": "rej", "note": "Sent if movement is blocked" },
|
|
{ "id": "0x22", "relationship": "ack", "note": "Sent if movement is successful" }
|
|
],
|
|
"source": {
|
|
"file": "Projects/UOContent/Network/Packets/IncomingMovementPackets.cs",
|
|
"line": 83
|
|
}
|
|
}
|
|
]
|
|
}
|