- 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>
38 lines
1.3 KiB
JSON
38 lines
1.3 KiB
JSON
{
|
|
"category": "Light",
|
|
"packets": [
|
|
{
|
|
"id": "0x4E",
|
|
"name": "Personal Light Level",
|
|
"description": "Sets the light level for a specific entity.",
|
|
"direction": "outgoing",
|
|
"isDynamic": false,
|
|
"size": 6,
|
|
"fields": [
|
|
{ "name": "packetId", "type": "byte", "size": 1, "value": "0x4E", "description": "Packet identifier" },
|
|
{ "name": "serial", "type": "uint", "size": 4, "description": "Serial of entity" },
|
|
{ "name": "level", "type": "byte", "size": 1, "description": "Light level (0=brightest, 25-30=typical night)" }
|
|
],
|
|
"source": {
|
|
"file": "Projects/Server/Network/Packets/OutgoingLightPackets.cs",
|
|
"line": 23
|
|
}
|
|
},
|
|
{
|
|
"id": "0x4F",
|
|
"name": "Global Light Level",
|
|
"description": "Sets the global ambient light level for the client.",
|
|
"direction": "outgoing",
|
|
"isDynamic": false,
|
|
"size": 2,
|
|
"fields": [
|
|
{ "name": "packetId", "type": "byte", "size": 1, "value": "0x4F", "description": "Packet identifier" },
|
|
{ "name": "level", "type": "byte", "size": 1, "description": "Light level (0=brightest, 25-30=typical night)" }
|
|
],
|
|
"source": {
|
|
"file": "Projects/Server/Network/Packets/OutgoingLightPackets.cs",
|
|
"line": 39
|
|
}
|
|
}
|
|
]
|
|
}
|