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
75
Distribution/Data/packets/outgoing/assistant.json
Normal file
75
Distribution/Data/packets/outgoing/assistant.json
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
{
|
||||
"category": "Assistant",
|
||||
"packets": [
|
||||
{
|
||||
"id": "0xF0",
|
||||
"name": "Assistant Handshake",
|
||||
"description": "Server sends handshake to negotiate assistant features with Razor-style clients. Contains disallowed feature flags.",
|
||||
"direction": "outgoing",
|
||||
"isDynamic": false,
|
||||
"size": 12,
|
||||
"fields": [
|
||||
{
|
||||
"name": "Packet ID",
|
||||
"type": "byte",
|
||||
"size": 1,
|
||||
"value": "0xF0",
|
||||
"description": "Packet identifier"
|
||||
},
|
||||
{
|
||||
"name": "Length",
|
||||
"type": "ushort",
|
||||
"size": 2,
|
||||
"value": "0x000C",
|
||||
"description": "Packet length (12)"
|
||||
},
|
||||
{
|
||||
"name": "Command",
|
||||
"type": "byte",
|
||||
"size": 1,
|
||||
"value": "0xFE",
|
||||
"description": "Handshake command"
|
||||
},
|
||||
{
|
||||
"name": "Disallowed Features",
|
||||
"type": "ulong",
|
||||
"size": 8,
|
||||
"description": "Bitmask of disallowed assistant features"
|
||||
}
|
||||
],
|
||||
"notes": "Used for assistant negotiation with Razor Community Edition and similar clients. If negotiation fails within 30 seconds, the server may kick the player.",
|
||||
"source": {
|
||||
"file": "Projects/UOContent/Assistants/AssistantHandler.cs",
|
||||
"line": 132
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "0xBE",
|
||||
"name": "Assistant Version Request",
|
||||
"description": "Server requests assistant version information from the client.",
|
||||
"direction": "outgoing",
|
||||
"isDynamic": false,
|
||||
"size": 3,
|
||||
"fields": [
|
||||
{
|
||||
"name": "Packet ID",
|
||||
"type": "byte",
|
||||
"size": 1,
|
||||
"value": "0xBE",
|
||||
"description": "Packet identifier"
|
||||
},
|
||||
{
|
||||
"name": "Length",
|
||||
"type": "ushort",
|
||||
"size": 2,
|
||||
"value": "0x0003",
|
||||
"description": "Packet length (3)"
|
||||
}
|
||||
],
|
||||
"source": {
|
||||
"file": "Projects/UOContent/Assistants/AssistantHandler.cs",
|
||||
"line": 122
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue