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
69
Distribution/Data/packets/outgoing/chat.json
Normal file
69
Distribution/Data/packets/outgoing/chat.json
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
{
|
||||
"category": "Chat",
|
||||
"packets": [
|
||||
{
|
||||
"id": "0xB2",
|
||||
"name": "Chat Message",
|
||||
"description": "Server sends chat system messages and commands to the client.",
|
||||
"direction": "outgoing",
|
||||
"isDynamic": true,
|
||||
"size": "13+",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Packet ID",
|
||||
"type": "byte",
|
||||
"size": 1,
|
||||
"value": "0xB2",
|
||||
"description": "Packet identifier"
|
||||
},
|
||||
{
|
||||
"name": "Length",
|
||||
"type": "ushort",
|
||||
"size": 2,
|
||||
"description": "Packet length"
|
||||
},
|
||||
{
|
||||
"name": "Command",
|
||||
"type": "ushort",
|
||||
"size": 2,
|
||||
"description": "Chat command number (original number minus 20)"
|
||||
},
|
||||
{
|
||||
"name": "Language",
|
||||
"type": "ascii",
|
||||
"size": 4,
|
||||
"description": "Language code (e.g., \u0027enu\u0027 for English)"
|
||||
},
|
||||
{
|
||||
"name": "Param 1",
|
||||
"type": "utf16be-t",
|
||||
"description": "First parameter (Big Endian Unicode, null-terminated)"
|
||||
},
|
||||
{
|
||||
"name": "Param 2",
|
||||
"type": "utf16be-t",
|
||||
"description": "Second parameter (Big Endian Unicode, null-terminated)"
|
||||
}
|
||||
],
|
||||
"related": [
|
||||
{
|
||||
"id": "0xB3",
|
||||
"direction": "incoming",
|
||||
"relationship": "request",
|
||||
"note": "Client sends Chat Action"
|
||||
},
|
||||
{
|
||||
"id": "0xB5",
|
||||
"direction": "incoming",
|
||||
"relationship": "request",
|
||||
"note": "Client sends Open Chat Window Request"
|
||||
}
|
||||
],
|
||||
"notes": "Part of the in-game chat system. Command numbers are offset by -20 from original values.",
|
||||
"source": {
|
||||
"file": "Projects/UOContent/Engines/Chat/ChatPackets.cs",
|
||||
"line": 104
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue